#include <parallel.h>
Public Member Functions | |
| ConditionVariable () | |
| ~ConditionVariable () | |
| void | Lock () |
| void | Unlock () |
| void | Wait () |
| void | Signal () |
Private Attributes | |
| pthread_mutex_t | mutex |
| pthread_cond_t | cond |
Definition at line 298 of file parallel.h.
| ConditionVariable::ConditionVariable | ( | ) |
Definition at line 571 of file parallel.cpp.
| ConditionVariable::~ConditionVariable | ( | ) |
Definition at line 582 of file parallel.cpp.
| void ConditionVariable::Lock | ( | ) |
Definition at line 590 of file parallel.cpp.
References mutex, and Severe().
Referenced by EnqueueTasks(), taskEntry(), and WaitForAllTasks().
| void ConditionVariable::Signal | ( | ) |
Definition at line 617 of file parallel.cpp.
References cond, and Severe().
Referenced by taskEntry().
| void ConditionVariable::Unlock | ( | ) |
Definition at line 599 of file parallel.cpp.
References mutex, and Severe().
Referenced by EnqueueTasks(), taskEntry(), and WaitForAllTasks().
| void ConditionVariable::Wait | ( | ) |
Definition at line 608 of file parallel.cpp.
References cond, mutex, and Severe().
Referenced by WaitForAllTasks().
pthread_cond_t ConditionVariable::cond [private] |
Definition at line 311 of file parallel.h.
Referenced by ConditionVariable(), Signal(), Wait(), and ~ConditionVariable().
pthread_mutex_t ConditionVariable::mutex [private] |
Definition at line 310 of file parallel.h.
Referenced by ConditionVariable(), Lock(), Unlock(), Wait(), and ~ConditionVariable().
1.6.3