home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / programm / 6065 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.0 KB

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