CppCMS
|
a Unique lock guard. More...
#include <booster/booster/thread.h>
Public Member Functions | |
unique_lock (Mutex &m) | |
Acquire the lock. | |
~unique_lock () | |
Release the lock. | |
Mutex * | mutex () const |
Get the reference to the mutex object. | |
a Unique lock guard.
Acquire the unique lock in the constructor and release it in the destructor