#include <SyncObjects.h>
Inheritance diagram for OW32::CMutex:

Public Member Functions | |
| CMutex (BOOL bInitialOwner=FALSE, LPCTSTR lpszName=NULL, LPSECURITY_ATTRIBUTES lpSecAttr=NULL) | |
| Construct a new mutex object. | |
| CMutex (HANDLE hMutex) | |
| Construct a new mutex object. | |
| CMutex & | operator= (HANDLE hMutex) |
| Set the encapsulated mutex handle. | |
| virtual BOOL | Lock (DWORD dwTimeout=INFINITE) |
| Lock the mutex. | |
| void | Unlock () |
| Unlock the mutex. | |
| operator HANDLE () const | |
| HANDLE extractor for the mutex object. | |
|
||||||||||||||||
|
Construct a new mutex object.
|
|
|
Construct a new mutex object.
|
|
|
Lock the mutex.
Implements OW32::CSyncObject. |
|
|
Set the encapsulated mutex handle.
|
1.3.9.1