#include <vtkConditionVariable.h>
Definition at line 111 of file vtkConditionVariable.h.
Public Member Functions | |
vtkSimpleConditionVariable () | |
~vtkSimpleConditionVariable () | |
void | Delete () |
void | Signal () |
void | Broadcast () |
int | Wait (vtkSimpleMutexLock &mutex) |
Static Public Member Functions | |
static vtkSimpleConditionVariable * | New () |
Protected Attributes | |
vtkConditionType | ConditionVariable |
vtkSimpleConditionVariable::vtkSimpleConditionVariable | ( | ) |
vtkSimpleConditionVariable::~vtkSimpleConditionVariable | ( | ) |
static vtkSimpleConditionVariable* vtkSimpleConditionVariable::New | ( | ) | [static] |
void vtkSimpleConditionVariable::Delete | ( | ) | [inline] |
Definition at line 119 of file vtkConditionVariable.h.
void vtkSimpleConditionVariable::Signal | ( | ) |
Wake one thread waiting for the condition to change.
void vtkSimpleConditionVariable::Broadcast | ( | ) |
Wake all threads waiting for the condition to change.
int vtkSimpleConditionVariable::Wait | ( | vtkSimpleMutexLock & | mutex | ) |
Wait for the condition to change. Upon entry, the mutex must be locked and the lock held by the calling thread. Upon exit, the mutex will be locked and held by the calling thread. Between entry and exit, the mutex will be unlocked and may be held by other threads.
mutex | The mutex that should be locked on entry and will be locked on exit (but not in between) |
Normally,this | function returns 0. Should a thread be interrupted by a signal, a non-zero value may be returned. |
Definition at line 138 of file vtkConditionVariable.h.