home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / wizards / 3894 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.8 KB

  1. Xref: sparky comp.unix.wizards:3894 comp.unix.questions:10969
  2. Newsgroups: comp.unix.wizards,comp.unix.questions
  3. Path: sparky!uunet!gatech!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!smurf.sub.org!incom!public!pfm!lars
  4. From: lars@pfm.rmt.sub.org (Lars Eisenblatt)
  5. Subject: Re: reliable signals under BSD / SVR4
  6. Organization: PFM News & Mail RMT Mainz, Germany
  7. Date: Thu, 10 Sep 1992 09:15:39 GMT
  8. Message-ID: <BuCv24.B8n@pfm.rmt.sub.org>
  9. References: <acourtny.715263267@unix1.tcd.ie>
  10. Keywords: signals, reliable, software interrupts
  11. Lines: 27
  12.  
  13. acourtny@unix1.tcd.ie (Antony A. Courtney) writes:
  14.  
  15. >I wrote the following short program to test whether or not signals are reliable
  16. >on our particular SVR4 implementation  (A Siemens-Nixdorf RM600 running Sinix).
  17.  
  18. >The particular implementation of signal() is from Stevens' "Advanced Programming
  19. >in the UNIX environment".  
  20.  
  21.  
  22. >What's the word?  Are signals "reliable" or aren't they?
  23.  
  24. Signals in SVR4 and BSD are more reliable than the signalingmechnismens in
  25. older SVR Versions. So if the same Signal is send twice or more to a process
  26. the second delivery ist blocked until the first is handled. But there is no stacking of signals, so they get lost, if there is more than one Signal pending.
  27.  
  28. SVR4 signal handling also supports Blocking and Masking of Signals. For more Information, please refer to Stevens, and M.J.Bach "The Design of the UNIX OS" or
  29. Leffler et.al. "The Design of BSD OS". Don't be frustated, a better Idea would be to use Messagequeues to serialize events.
  30.  
  31. Lars Eisenblatt                    lars@pfm.rmt.sub.org
  32. An der Wellenburg 18
  33. 6000 Frankfurt/Main 50                Phone: *49 69 505263
  34. LAMARC GmbH, Wiesbaden
  35. -- 
  36. Lars Eisenblatt                    lars@pfm.rmt.sub.org
  37. An der Wellenburg 18
  38. 6000 Frankfurt/Main 50                Phone: *49 69 505263
  39. LAMARC GmbH, Wiesbaden
  40.