提交 9dd6399c 编写于 作者: R Rich Felker

remove debug code that was missed in barrier commit

上级 f16a3089
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册