![]() |
http://www.sim.no http://www.coin3d.org |
#include <Inventor/threads/SbBarrier.h>
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.
Public Member Functions | |
SbBarrier (unsigned int count) | |
~SbBarrier (void) | |
int | enter (void) |
|
Constructor. The SbBarrier will be set for |
|
Destructor. |
|
This method blocks the calling thread on this barrier. It returns when the given number of threads have been blocked. 1 is returned if the caller was the last thread to enter the barrier, 0 otherwise. |
Copyright © 1998-2005 by Systems in Motion AS. All rights reserved.
Generated on Tue Apr 17 03:29:39 2007 for Coin by Doxygen. 1.4.6