home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6804 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!sun4nl!htsa!miquels
  3. From: miquels@htsa.aha.nl (Miquel van Smoorenburg)
  4. Subject: Re: sigblock, sigpause...
  5. Message-ID: <1992Jul27.210933.29135@htsa.aha.nl>
  6. Organization: Algemene Hogeschool Amsterdam, The Netherlands
  7. References: <14p8neINNpr0@matt.ksu.ksu.edu>
  8. Date: Mon, 27 Jul 1992 21:09:33 GMT
  9. Lines: 20
  10.  
  11. In article <14p8neINNpr0@matt.ksu.ksu.edu> kxb@matt.ksu.ksu.edu (Karl Buck) writes:
  12. >Are sigblock and sigpause implemented in the latest version of the
  13. >compiler and/or kernel?
  14. >-- 
  15. >Karl Buck         O, Freddled Gruntbuggly      
  16. >Grain Marketing   Thy Nicturations are to me   
  17. >Research Lab      As Plurdled Gabbleblotchits  
  18. >(913)776-2745      On a lurgid bee.       -- Chief Prostetnic Vogon Jeltz
  19.  
  20. #define sigblock(what) sigsetmask(siggetmask()|(what))
  21. #define sigpause(what) sigsuspend(&what)
  22.  
  23. That's all.. (Could someone put this in the official <signal.h> ? )
  24.  
  25. Mike.
  26.  
  27. -- 
  28. %     Miquel van Smoorenburg, Baljuwstraat 20, 2461SL Langeraar, Holland.     %
  29. %   miquels@htsa.aha.nl (school)       miquels@drinkel.nl.mugnet.org (home)   %
  30. %                   Calm down - it's just ones and zeros                      %
  31.