]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 3fcb18d924137616e9233eb80a7cf982f08458a5..8773a7fdb7614ae4e6f01ebdc57e05098528a5ef 100644 (file)
@@ -1 +1 @@
-NPTL 0.26 by Ulrich Drepper
+NPTL 0.27 by Ulrich Drepper
index 7c27b9462385f8f0a442c03677909a49eb3026c8..8348f6e017e7fa7438a8c4042d5a362e6788732a 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