1 #ifndef COIN_SBBARRIER_H
2 #define COIN_SBBARRIER_H
27 #include <Inventor/C/threads/barrier.h>
31 SbBarrier(
unsigned int count) { this->barrier = cc_barrier_construct(count); }
34 int enter(
void) {
return cc_barrier_enter(this->barrier); }
40 #endif // !COIN_SBBARRIER_H
~SbBarrier(void)
Definition: SbBarrier.h:32
SbBarrier(unsigned int count)
Definition: SbBarrier.h:31
int enter(void)
Definition: SbBarrier.h:34
The SbBarrier class implements the "barrier" multi-thread synchronization technique.A barrier is a synchronization mechanism that is used for blocking threads as they enter the barrier until a given number of threads are blocked, at which point all the threads are released again.
Definition: SbBarrier.h:29