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