On Fri, Sep 03, 2010 at 02:14:30AM +0200, Samuel Thibault wrote:
> Jeremie Koenig, le Fri 03 Sep 2010 01:38:29 +0200, a écrit :
> > +  pending = ss->pending & ~ss->blocked;
> > +
> >    __pthread_spin_unlock (&ss->lock);
> >  
> > +  if (! err && pending)
> > +    /* Send a message to the signal thread so it
> > +       will wake up and check for pending signals.  */
> > +    __msg_sig_post (_hurd_msgport, 0, 0, __mach_task_self ());
> 
> Mmm, more precisely, to follow the POSIX behavior AIUI, rather than
> ss->pending it should be a process-global pending mask.

Indeed, but this will require much more changes in glibc. This patch is
just intended to fix pthread_sigmask and align its behavior on that of
sigprocmask.

-- 
Jeremie Koenig <j...@jk.fr.eu.org>
http://jk.fr.eu.org

Reply via email to