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 |
| pthread_mutexattr_t | attr |
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 131 of file thread_pthread.cpp.
1.7.1