소스 검색

remove debug code that was missed in barrier commit

Rich Felker 14 년 전
부모
커밋
9dd6399c95
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/thread/pthread_barrier_wait.c

+ 0 - 1
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);