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