POSIX pthread version of ThreadMutex. More...
Public Member Functions | |
void | BeginCritical () |
Begin the critical section. | |
void | EndCritical () |
End of the critical section. | |
void | WaitForSignal () |
Wait for a signal to be send. | |
void | SendSignal () |
Send a signal and wake the 'thread' that was waiting for it. | |
Private Attributes | |
pthread_mutex_t | mutex |
pthread_cond_t | condition |
POSIX pthread version of ThreadMutex.
Definition at line 96 of file thread_pthread.cpp.
void ThreadMutex_pthread::WaitForSignal | ( | ) | [inline, virtual] |
Wait for a signal to be send.
Implements ThreadMutex.
Definition at line 126 of file thread_pthread.cpp.