This commit is contained in:
Ulrich Drepper 2003-02-28 03:47:32 +00:00
parent 567fb22ae3
commit 206a5cdea2
2 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
NPTL 0.26 by Ulrich Drepper
NPTL 0.27 by Ulrich Drepper

View File

@ -109,7 +109,9 @@ pthread_barrier_wait:
movl $SYS_futex, %eax
ENTER_KERNEL
/* Release the mutex. */
/* Release the mutex. We cannot release the lock before
waking the waiting threads since otherwise a new thread might
arrive and gets waken up, too. */
LOCK
incl MUTEX(%ebx)
jng 4f