24 #ifndef LIBTHREADAR_BARRIER_HPP
25 #define LIBTHREADAR_BARRIER_HPP
84 pthread_barrier_t bar;
#define THREADAR_BUG
Macro used to throw an exception_bug when execution reach that statement.
void wait()
suspend the calling thread waiting for other up to 'num' other thread to call wait too ...
~barrier()
The destructor.
barrier(unsigned int num)
The constructor.
the class barrier allows several threads to synchronize between them
This is the only namespace used in libthreadar and all symbols provided by libthreadar are member of ...