#include <mutex.h>
Public Member Functions | |
| CL_MutexSection (CL_Mutex *mutex, bool lock=true) | |
| Construction:. | |
| ~CL_MutexSection () | |
| int | get_lock_count () const |
| Attributes:. | |
| void | lock () |
| Operations:. | |
| bool | try_lock () |
| void | unlock () |
Private Attributes | |
| CL_Mutex * | mutex |
| Implementation:. | |
| int | lock_count |
|
||||||||||||
|
Construction:.
Definition at line 122 of file mutex.cpp. References lock(). |
|
|
Definition at line 128 of file mutex.cpp. References lock_count, and unlock(). |
|
|
Attributes:.
Definition at line 137 of file mutex.cpp. References lock_count. |
|
|
Operations:.
Definition at line 145 of file mutex.cpp. References CL_Mutex::lock(), lock_count, and mutex. Referenced by CL_MutexSection(). |
|
|
Definition at line 152 of file mutex.cpp. References lock_count, mutex, and CL_Mutex::try_lock(). |
|
|
Definition at line 162 of file mutex.cpp. References lock_count, mutex, and CL_Mutex::unlock(). Referenced by ~CL_MutexSection(). |
|
|
Definition at line 91 of file mutex.h. Referenced by get_lock_count(), lock(), try_lock(), unlock(), and ~CL_MutexSection(). |
|
|
Implementation:.
Definition at line 89 of file mutex.h. Referenced by lock(), try_lock(), and unlock(). |
1.4.1