27 #ifndef CPP_PTHREADS_BARRIER_H_
28 #define CPP_PTHREADS_BARRIER_H_
48 int init(
unsigned count);
int wait()
called by a thread which wishes to synchronize on the barrier. Will block until count threads are all...
int destroy()
destroy the barrier
A barrier is an object which synchronizes a fixed number of threads at a specific point...
Attributes object for type Base.
int init(unsigned count)
initialize a barrier for count threads using default attributes