|
LLVM
4.0.0
|
SmartMutex - A mutex with a compile time constant parameter that indicates whether this mutex should become a no-op when we're not running in multithreaded mode. More...
#include <Mutex.h>
Public Member Functions | |
| SmartMutex (bool rec=true) | |
| bool | lock () |
| bool | unlock () |
| bool | try_lock () |
SmartMutex - A mutex with a compile time constant parameter that indicates whether this mutex should become a no-op when we're not running in multithreaded mode.
|
inlineexplicit |
|
inline |
Definition at line 99 of file Mutex.h.
Referenced by llvm::MutexGuard::MutexGuard().
|
inline |
|
inline |
Definition at line 112 of file Mutex.h.
Referenced by llvm::MutexGuard::~MutexGuard().
1.8.6