CppCMS
|
Mutex object. More...
#include <booster/booster/thread.h>
Public Member Functions | |
void | lock () |
void | unlock () |
Friends | |
class | condition_variable |
Mutex object.
void booster::mutex::lock | ( | ) |
Lock the mutex. If the same thread tries to lock the mutex it holds, the behavior is undefined and would likely lead to deadlock
void booster::mutex::unlock | ( | ) |
Unlock the mutex. If called for unlocked mutex, the behavior is undefined