home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!mdisea!mitchell
- From: mitchell@mdd.comm.mot.com (Bill Mitchell)
- Subject: Re: Handling signals (was: trapping "control C")
- Message-ID: <1992Jul21.144705.8158@mdd.comm.mot.com>
- Sender: news@mdd.comm.mot.com
- Bcc: mitchell
- Reply-To: mitchell@mdd.comm.mot.com (Bill Mitchell)
- Organization: Motorola, Mobile Data Division - Seattle, WA
- References: <1992Jul17.141248.4837@mdd.comm.mot.com> <1992Jul18.164658.14314@oracle.us.oracle.com> <1992Jul20.172641.2987@thinkage.on.ca>
- Date: Tue, 21 Jul 1992 14:47:05 GMT
- Lines: 21
-
- in comp.lang.c, atbowler@thinkage.on.ca (Alan Bowler) said:
-
-
- >In article <1992Jul18.164658.14314@oracle.us.oracle.com> wkaufman@us.oracle.com (William Kaufman) writes:
- >>In article <1992Jul17.141248.4837@mdd.comm.mot.com> mitchell@mdd.comm.mot.com (Bill Mitchell) writes:
- >>
- >> OK, so this just says that the signal handler should be *very*
- >>careful about touching global variables, right? Doing nothing,
- >>exit()'ing, or writing to a variable that the main program only reads
- >>from (or vice versa)--these should all be safe, right?
- >>
- >Actually "exit()'ing" can be a bit dicey.
-
- I won't argue with that.
-
- I do want to point out, however, that the snippet seemingly attributed to me
- above was actually written by Bill Kaufman.
-
- --
- mitchell@mdd.comm.mot.com (Bill Mitchell)
-
-