projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f16a308
)
remove debug code that was missed in barrier commit
author
Rich Felker
<dalias@aerifal.cx>
Sat, 7 May 2011 00:27:45 +0000
(20:27 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 7 May 2011 00:27:45 +0000
(20:27 -0400)
src/thread/pthread_barrier_wait.c
patch
|
blob
|
history
diff --git
a/src/thread/pthread_barrier_wait.c
b/src/thread/pthread_barrier_wait.c
index 1e638d9681234cb67586137b2fa06d91f8b2fd50..aed1adc855f77a2da34b0d8c5c0247858380ef35 100644
(file)
--- a/
src/thread/pthread_barrier_wait.c
+++ b/
src/thread/pthread_barrier_wait.c
@@
-38,7
+38,6
@@
int pthread_barrier_wait(pthread_barrier_t *b)
/* Last thread to enter the barrier wakes all non-instance-owners */
if (++inst->count == limit) {
-a_spin(); a_spin();
b->_b_inst = 0;
a_store(&b->_b_lock, 0);
if (b->_b_waiters) __wake(&b->_b_lock, 1, 0);