On 11/13, Roland McGrath wrote:
>
> > But I suspect we have other issues here. Let's suppose we have threads T1
> > (main) and T2. T2 blocks SIGCHLD and does sigwait(SIGCHLD).
> >
> > Now, we send SIGCHLD to the thread group. The signal is lost again because
> > sig_ignored() returns true on T1's
On 11/13, Roland McGrath wrote:
But I suspect we have other issues here. Let's suppose we have threads T1
(main) and T2. T2 blocks SIGCHLD and does sigwait(SIGCHLD).
Now, we send SIGCHLD to the thread group. The signal is lost again because
sig_ignored() returns true on T1's side.
> But I suspect we have other issues here. Let's suppose we have threads T1
> (main) and T2. T2 blocks SIGCHLD and does sigwait(SIGCHLD).
>
> Now, we send SIGCHLD to the thread group. The signal is lost again because
> sig_ignored() returns true on T1's side.
>
> Is this OK? [...]
Yes, it's OK
On 11/12, Roland McGrath wrote:
>
> cf http://bugzilla.kernel.org/show_bug.cgi?id=9347
>
> While a signal is blocked, it must be posted even if its action is
> SIG_IGN or is SIG_DFL with the default action to ignore. This works
> right most of the time, but is broken when a sigwait
On 11/12, Roland McGrath wrote:
cf http://bugzilla.kernel.org/show_bug.cgi?id=9347
While a signal is blocked, it must be posted even if its action is
SIG_IGN or is SIG_DFL with the default action to ignore. This works
right most of the time, but is broken when a sigwait (rt_sigtimedwait)
But I suspect we have other issues here. Let's suppose we have threads T1
(main) and T2. T2 blocks SIGCHLD and does sigwait(SIGCHLD).
Now, we send SIGCHLD to the thread group. The signal is lost again because
sig_ignored() returns true on T1's side.
Is this OK? [...]
Yes, it's OK if T1
cf http://bugzilla.kernel.org/show_bug.cgi?id=9347
While a signal is blocked, it must be posted even if its action is
SIG_IGN or is SIG_DFL with the default action to ignore. This works
right most of the time, but is broken when a sigwait (rt_sigtimedwait)
is in progress. This changes the
cf http://bugzilla.kernel.org/show_bug.cgi?id=9347
While a signal is blocked, it must be posted even if its action is
SIG_IGN or is SIG_DFL with the default action to ignore. This works
right most of the time, but is broken when a sigwait (rt_sigtimedwait)
is in progress. This changes the
8 matches
Mail list logo