diff options
author | rpj <rpj> | 2001-07-09 18:22:07 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-07-09 18:22:07 +0000 |
commit | 1d99828acf48bc6d5a81aadc6123e5172dfc355d (patch) | |
tree | 4646ce8ba7129298e3ca6931c8e7019e9bbeb2df /tests/condvar1.c | |
parent | f58aab44e671bb39b8afb29804a9ca94c238c523 (diff) |
* barrier.c: Revamped to fix the race condition. Two alternating
semaphores are used instead of the PulseEvent. Also improved
overall throughput by returning PTHREAD_BARRIER_SERIAL_THREAD
to the first waking thread.
* implement.h (pthread_barrier_t_): Revamped.
Diffstat (limited to 'tests/condvar1.c')
0 files changed, 0 insertions, 0 deletions