_Lock Class Reference
_Lock is a simple manual locking class which allows you to manually
lock and unlock a mutex associated with the
lock.
More...
List of all members.
Public Member Functions
-
_Lock (_Mutex *__mptr)
-
void _M_lock ()
-
void _M_unlock ()
Detailed Description
There is no automatic locking or unlocking happening without the programmer's explicit instructions. This class unlocks the mutex ONLY if it has not been locked. However, this check does not apply for locking, and wayward use may cause dead-locks.
Definition at line 135 of file bitmap_allocator.h.
The documentation for this class was generated from the following file: