home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ulowell!m2c!bu.edu!cs!tasos
- From: tasos@cs.bu.edu (Anastasios Kotsikonas)
- Newsgroups: comp.unix.programmer
- Subject: Re: longjmp() from a signal handler
- Keywords: longjmp signals
- Message-ID: <108515@bu.edu>
- Date: 27 Jan 93 18:04:05 GMT
- References: <rturner.727977268@imagen> <1993Jan26.132457.26298@g2syd.genasys.com.au> <rturner.728076215@imagen>
- Sender: news@bu.edu
- Organization: Computer Science Department, Boston University, Boston, MA, USA
- Lines: 13
-
- In article <rturner.728076215@imagen> rturner@imagen.com (Randy Turner) writes:
- # the the jmp_buf[] references. The POSIX.1 spec says that only a subset
- # of library calls are safe to call from inside a signal handler, and the
- # longjmp()/siglongjmp() calls are not among them. I was curious if
- # Sys-V/R4 supports longjmp'ing from a signal handler, or is anyone has
- # code that does this?
-
- Yes it does support it and it works fine; the same code actually works fine
- on SUN/HP/IBM/SGI/Stardent/DG under BSD, SVR3 and SVR4.
-
- Anyone interested, email me.
-
- Tasos
-