This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 06/15] Hurd signals: make sigsuspend POSIX-conformant.
- From: Samuel Thibault <samuel dot thibault at gnu dot org>
- To: Jeremie Koenig <jk at jk dot fr dot eu dot org>
- Cc: libc-alpha at sourceware dot org, bug-hurd at gnu dot org,Roland McGrath <roland at hack dot frob dot com>
- Date: Sun, 3 Jul 2011 00:44:52 +0200
- Subject: Re: [PATCH 06/15] Hurd signals: make sigsuspend POSIX-conformant.
- References: <1309365027-4774-1-git-send-email-jk@jk.fr.eu.org><1309365027-4774-7-git-send-email-jk@jk.fr.eu.org>
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