Cross-platform Mutex. More...
#include <thread.h>
Public Member Functions | |
| virtual | ~ThreadMutex () |
| Virtual Destructor to avoid compiler warnings. | |
| virtual void | BeginCritical ()=0 |
| Begin the critical section. | |
| virtual void | EndCritical ()=0 |
| End of the critical section. | |
| virtual void | WaitForSignal ()=0 |
| Wait for a signal to be send. | |
| virtual void | SendSignal ()=0 |
| Send a signal and wake the 'thread' that was waiting for it. | |
Static Public Member Functions | |
| static ThreadMutex * | New () |
Cross-platform Mutex.
Definition at line 53 of file thread.h.
| virtual void ThreadMutex::WaitForSignal | ( | ) | [pure virtual] |
Wait for a signal to be send.
Implemented in ThreadMutex_None, ThreadMutex_OS2, ThreadMutex_pthread, and ThreadMutex_Win32.
1.7.1