(_hurd_internal_post_signal): In check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending.
This commit is contained in:
parent
1a6a8198a6
commit
6a60a93757
|
@ -934,7 +934,10 @@ _hurd_internal_post_signal (struct hurd_sigstate *ss,
|
||||||
dropped right away. */
|
dropped right away. */
|
||||||
|| ss->actions[signo].sa_handler == SIG_IGN
|
|| ss->actions[signo].sa_handler == SIG_IGN
|
||||||
|| ss->actions[signo].sa_handler == SIG_DFL))
|
|| ss->actions[signo].sa_handler == SIG_DFL))
|
||||||
goto deliver_pending;
|
{
|
||||||
|
mutex_unlock (&_hurd_siglock);
|
||||||
|
goto deliver_pending;
|
||||||
|
}
|
||||||
__spin_unlock (&ss->lock);
|
__spin_unlock (&ss->lock);
|
||||||
}
|
}
|
||||||
__mutex_unlock (&_hurd_siglock);
|
__mutex_unlock (&_hurd_siglock);
|
||||||
|
|
Loading…
Reference in New Issue