Inheritance diagram for CP_Mutex:
Public Member Functions | |
CP_Mutex () | |
Allocate the OS mutex resource. | |
~CP_Mutex () | |
Deallocate the OS mutex resource. | |
void | lock () |
Lock the mutex. | |
void | unlock () |
Unlock the mutex. | |
Private Types | |
typedef CRITICAL_SECTION | mutex_type |
Private Attributes | |
mutex_type | fMutex_ |
the OS mutex resource |
|
|
|
|
|
|
|
Attempts to lock the mutex, blocking until the lock operation succeeded.
|
|
Unlocks a previously locked mutex. When calling unlock for an unlocked mutex, the behavior is not specified.
|
|
|