home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / c / 11394 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!mdisea!mitchell
  3. From: mitchell@mdd.comm.mot.com (Bill Mitchell)
  4. Subject: Re: Handling signals (was:  trapping "control C")
  5. Message-ID: <1992Jul21.144705.8158@mdd.comm.mot.com>
  6. Sender: news@mdd.comm.mot.com
  7. Bcc:  mitchell
  8. Reply-To: mitchell@mdd.comm.mot.com (Bill Mitchell)
  9. Organization: Motorola, Mobile Data Division - Seattle, WA
  10. References: <1992Jul17.141248.4837@mdd.comm.mot.com> <1992Jul18.164658.14314@oracle.us.oracle.com> <1992Jul20.172641.2987@thinkage.on.ca>
  11. Date: Tue, 21 Jul 1992 14:47:05 GMT
  12. Lines: 21
  13.  
  14. in comp.lang.c, atbowler@thinkage.on.ca (Alan Bowler) said:
  15.  
  16.  
  17. >In article <1992Jul18.164658.14314@oracle.us.oracle.com> wkaufman@us.oracle.com (William Kaufman) writes:
  18. >>In article <1992Jul17.141248.4837@mdd.comm.mot.com> mitchell@mdd.comm.mot.com (Bill Mitchell) writes:
  19. >>
  20. >>    OK, so this just says that the signal handler should be *very*
  21. >>careful about touching global variables, right?  Doing nothing,
  22. >>exit()'ing, or writing to a variable that the main program only reads
  23. >>from (or vice versa)--these should all be safe, right?
  24. >>
  25. >Actually "exit()'ing" can be a bit dicey.
  26.  
  27. I won't argue with that.
  28.  
  29. I do want to point out, however, that the snippet seemingly attributed to me
  30. above was actually written by Bill Kaufman.
  31.  
  32. -- 
  33. mitchell@mdd.comm.mot.com (Bill Mitchell)
  34.  
  35.