home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os9 / 1440 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  1.1 KB

  1. Path: sparky!uunet!usc!elroy.jpl.nasa.gov!wvus!abode!blars!blarson
  2. Message-ID: <347@blars.UUCP>
  3. Date: Fri, 20 Nov 1992 03:54:03 GMT
  4. Newsgroups: comp.os.os9
  5. Subject: Re: Intercept() and I/O
  6. References: <Bxz2Ly.26D@da_vinci.it.uswc.uswest.com>
  7. Reply-To: blarson@usc.edu
  8. From: blarson@blars.UUCP
  9. Lines: 20
  10.  
  11. In article <Bxz2Ly.26D@da_vinci.it.uswc.uswest.com> plyall@lookout.it.uswc.uswest.com (Pete Lyall) writes:
  12. >Is it REALLY true that you can't have your
  13. >intercept & mainline doing I/O? If so, why?
  14.  
  15. I think the restriction is due to the i/o code being interuptable and
  16. non-reentrant.  Much of the time you can get away with i/o in the
  17. signal handler.  Also remember futher signals are defered until the
  18. intercept routine returns.
  19.  
  20. >Also - has someone written 'signal(SIGNAL, handler)' for OSK, and/or
  21. >was it brought back into the library for ANSI compatibility?
  22.  
  23. There is a singal() routine in blarslib, available whereever the
  24. hermit archives went to.  (cabreles?)
  25.  
  26. -- 
  27. blarson@usc.edu            usc!blarson            blarson@zog
  28.         C news and rn for os9/68k!
  29. I think I hear a scream.  A great many dramatic situations begin with a scream.
  30.                             -- Barbarella
  31.