|Mutex is acquired on Scoped_Lock construction and released on destruction. More...|
|Constructor, creates unnamed Mutex object. |
|unsigned int||Get (unsigned int timeout=INFINITE)|
|Gets the mutex. If it is not free then waits (blocking) for specified timeout and either gets the mutex or returns an error. If no error was encountered returns 0. Please note that timeout value has no effect now because it is not implemented. |
|unsigned int||Release ()|
|Releases the mutex allowing other threads to access the mutex-protected resource. |
A synchronization primitive for multithreaded applications. Multiple Get() method calls from one process will not lead to deadlock, in other words the mutex is reentrant.