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