[protected]
.
You should never call lock() or unlock() on a mutex directly; instead use the guard class or the locking(x) macro:
Public Methods | |
mutex () | |
Constructor. | |
~mutex () | |
Destructor. | |
void | lock () |
Acquires the lock. | |
void | unlock () |
Releases the lock. | |
Friends | |
class | condition |
|
Constructor.
|
|
Destructor.
|
|
Acquires the lock.
|
|
Releases the lock.
|
|
|