From 6a60a937573f8c77251e60850344c5cd53a439b4 Mon Sep 17 00:00:00 2001 From: "Thomas Bushnell, BSG" Date: Fri, 28 Jun 1996 20:29:45 +0000 Subject: (_hurd_internal_post_signal): In check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. --- hurd/hurdsig.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 595cab624a..5041ea079e 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -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); -- cgit 1.4.1