> Bruce Momjian <[EMAIL PROTECTED]> writes:
> >> how about sigpause, and using SIGUSR1/SIGUSR2 to wake them up ? 
> 
> > Looks like a winner.
> 
> sigpause() is a BSD-ism, and not part of any recognized standard
> according to my HP man pages.  How portable do you think it is?

Good point.  I get on BSDI:

     The sigpause function call appeared in 4.2BSD and has been deprecated.

The standard is sigsuspend:

     The sigsuspend function call conforms to IEEE Std1003.1-1988 (``POSIX'').

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Reply via email to