#include <Inventor/threads/SbCondVar.h>
Condition variables are used to protect global variables in an environment where multiple threads are running concurrently.
Public Member Functions | |
| SbCondVar (void) | |
| ~SbCondVar (void) | |
| SbBool | wait (SbMutex &mutex) |
| SbBool | timedWait (SbMutex &mutex, SbTime period) |
| void | wakeOne (void) |
| void | wakeAll (void) |
|
|
Constructor. |
|
|
Destructor. |
|
|
This method blocks the calling thread until another thread calls wakeOne() or wakeAll() on the SbCondVar object. |
|
||||||||||||
|
This method blocks the calling thread until another thread calls wakeOne() or wakeAll() on the object, but if this does not happen within
|
|
|
This method wakes up one of the threads waiting on this SbCondVar. |
|
|
This method wakes up all the threads waiting on this SbCondVar. |
1.3.6