This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]