[PATCH 06/15] Hurd signals: make sigsuspend POSIX-conformant.

Samuel Thibault samuel.thibault@gnu.org
Sat Jul 2 23:30:00 GMT 2011


Jeremie Koenig, le Wed 29 Jun 2011 18:30:18 +0200, a écrit :
> * hurd/hurdsig.c (wake_sigsuspend): New function.
> (post_signal): wake up sigsuspend calls in the "handle" case.
> (post_signals): no longer wake up sigsuspend calls indiscriminately.

Indeed, I believe this is correct: before, merely posting a blocked
signal to a process would still make it check pending signal and then
wake sigsuspend, while the latter is supposed to wait for a unblocked
signal to be either handled or to terminate the process.

Samuel



More information about the Libc-alpha mailing list