> sigwait is a POSIX extension to ISO C. I believe it's only advantage
The advantage of sigwait() over sigsuspend() is that the function returns
which signals actually were delivered (and removes them from the delivery
queue). Sigsuspend() simply returns whenever some signal was delivered, but
there's no way of finding out which (except to register signal handlers and
set global variables).
I could be misusing the functions, but I could not find a way of using a
sigsuspend() (and sigpending() or any combination of sigprocmasks) that
would tell me which signal was delivered that caused sigsuspend() to
continue.
-Mike
Received on Fri Dec 13 23:09:28 2002
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 13:29:40 EDT
|