(_hurd_internal_post_signal): In check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending.

This commit is contained in:
Thomas Bushnell, BSG 1996-06-28 20:29:45 +00:00
parent 1a6a8198a6
commit 6a60a93757
1 changed files with 4 additions and 1 deletions

View File

@ -934,7 +934,10 @@ _hurd_internal_post_signal (struct hurd_sigstate *ss,
dropped right away. */
|| ss->actions[signo].sa_handler == SIG_IGN
|| ss->actions[signo].sa_handler == SIG_DFL))
goto deliver_pending;
{
mutex_unlock (&_hurd_siglock);
goto deliver_pending;
}
__spin_unlock (&ss->lock);
}
__mutex_unlock (&_hurd_siglock);