Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 28 Feb 2003 03:47:32 +0000 (03:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 28 Feb 2003 03:47:32 +0000 (03:47 +0000)
nptl/Banner
nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S

index 3fcb18d..8773a7f 100644 (file)
@@ -1 +1 @@
-NPTL 0.26 by Ulrich Drepper
+NPTL 0.27 by Ulrich Drepper
index 7c27b94..8348f6e 100644 (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