From 9dd6399c95ed3ebc62492f6dedc569b5f0d8bb8e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 6 May 2011 20:27:45 -0400 Subject: [PATCH] remove debug code that was missed in barrier commit --- src/thread/pthread_barrier_wait.c | 1 - 1 file changed, 1 deletion(-) 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);