diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | hurd/hurd/signal.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 5081237ce5..97849df706 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-02-07 Richard Braun <rbraun@sceen.net> + + * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock + sigstate. + 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org> * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h index 4a744c10ed..e332242291 100644 --- a/hurd/hurd/signal.h +++ b/hurd/hurd/signal.h @@ -175,9 +175,8 @@ _hurd_critical_section_lock (void) /* The thread variable is unset; this must be the first time we've asked for it. In this case, the critical section flag cannot possible already be set. Look up our sigstate structure the slow - way; this locks the sigstate lock. */ + way. */ ss = *location = _hurd_thread_sigstate (__mach_thread_self ()); - __spin_unlock (&ss->lock); } if (! __spin_try_lock (&ss->critical_section_lock)) |