summary refs log tree commit diff
path: root/nptl/DESIGN-barrier.txt
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-20 20:21:20 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-20 20:21:20 +0000
commit33ab3b66dd6a851aef4e607abe3e973e82c7fe81 (patch)
tree42cfe3e35a2ed506fafe49d416992e7ec8edf140 /nptl/DESIGN-barrier.txt
parent6e21902ab82e353c3701583c4ee688c45dbb78d7 (diff)
downloadglibc-33ab3b66dd6a851aef4e607abe3e973e82c7fe81.tar.gz
glibc-33ab3b66dd6a851aef4e607abe3e973e82c7fe81.tar.xz
glibc-33ab3b66dd6a851aef4e607abe3e973e82c7fe81.zip
Update.
	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the
	2003-11-27 atan2 test.
Diffstat (limited to 'nptl/DESIGN-barrier.txt')
-rw-r--r--nptl/DESIGN-barrier.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/nptl/DESIGN-barrier.txt b/nptl/DESIGN-barrier.txt
index 754e4712e1..b0fbf14fb1 100644
--- a/nptl/DESIGN-barrier.txt
+++ b/nptl/DESIGN-barrier.txt
@@ -31,12 +31,9 @@ pthread_barrier_wait(barrier_t *barrier)
     result = BARRIER_SERIAL_THREAD;
   } else {
     event = barrier->curr_event;
+    lll_unlock(barrier->lock);
     do {
-      lll_unlock(barrier->lock);
-
       futex_wait(&barrier->curr_event, event)
-
-      lll_lock(barrier->lock);
     } while (event == barrier->curr_event);
   }