Mutex locking helper.
More...
#include <mutex.h>
CL_MutexSection::CL_MutexSection |
( |
CL_Mutex * |
mutex, |
|
|
bool |
lock_mutex = true |
|
) |
| |
|
inline |
Constructs a mutex section.
CL_MutexSection::~CL_MutexSection |
( |
) | |
|
|
inline |
int CL_MutexSection::get_lock_count |
( |
) | |
const |
|
inline |
Returns the amounts of recursive mutex locks performed by this section.
void CL_MutexSection::lock |
( |
) | |
|
|
inline |
bool CL_MutexSection::try_lock |
( |
) | |
|
|
inline |
void CL_MutexSection::unlock |
( |
) | |
|
|
inline |
The documentation for this class was generated from the following file: