24 #ifndef __CORE_THREADING_INTERRUPTIBLE_BARRIER_H_
25 #define __CORE_THREADING_INTERRUPTIBLE_BARRIER_H_
27 #include <core/threading/barrier.h>
28 #include <core/utils/refptr.h>
35 class InterruptibleBarrierData;
45 bool wait(
unsigned int timeout_sec,
unsigned int timeout_nanosec);
48 void interrupt() throw();
60 InterruptibleBarrierData *__data;
65 bool __wait_at_barrier;
virtual void wait()
Wait for other threads.
A barrier is a synchronization tool which blocks until a given number of threads have reached the bar...
RefPtr<> is a reference-counting shared smartpointer.
Mutex mutual exclusion lock.
A barrier is a synchronization tool which blocks until a given number of threads have reached the bar...