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();
53 bool no_threads_in_wait();
62 InterruptibleBarrierData *__data;
67 bool __wait_at_barrier;
68 int __num_threads_in_wait_function;
virtual void wait()
Wait for other threads.
Fawkes library namespace.
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...