diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-05-06 20:27:45 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-05-06 20:27:45 -0400 |
commit | 9dd6399c95ed3ebc62492f6dedc569b5f0d8bb8e (patch) | |
tree | cdb2b50cbe4ee0b75d9d747f96ed7ae39b6a6df8 | |
parent | f16a3089be33a75ef8e75b2dd5ec3095996bbb87 (diff) | |
download | musl-9dd6399c95ed3ebc62492f6dedc569b5f0d8bb8e.tar.gz |
remove debug code that was missed in barrier commit
-rw-r--r-- | src/thread/pthread_barrier_wait.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/thread/pthread_barrier_wait.c b/src/thread/pthread_barrier_wait.c index 1e638d96..aed1adc8 100644 --- 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); |