Mail Archives: cygwin/1997/06/18/00:11:05
Chris Faylor wrote:
>
> sleep(1);
> fputs("sleeping\n", stderr);
> sleep(3);
> sigdelset(&set, SIGCHLD);
> sigsuspend(&set);
> exit(0);
I.e. sigsuspend() must check pending signals not blocked by "set" argument and raise ones if exists? Something like
if(there is pending unblocked signals) {
raise(that signals);
return 0;
}
wait for a new signal forever;
return 0;
Am I right? Does anybody knows the exact sigsuspend() semantics?
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -