class SmartRWMutex
Declaration
template <bool mt_only>
class SmartRWMutex { /* full declaration omitted */ };
Description
SmartMutex - An R/W 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.
Declared at: llvm/include/llvm/Support/RWMutex.h:94
Templates
- bool mt_only
Method Overview
- public bool lock()
- public bool lock_shared()
- public bool unlock()
- public bool unlock_shared()
Methods
¶bool lock()
bool lock()
Declared at: llvm/include/llvm/Support/RWMutex.h:135
¶bool lock_shared()
bool lock_shared()
Declared at: llvm/include/llvm/Support/RWMutex.h:110
¶bool unlock()
bool unlock()
Declared at: llvm/include/llvm/Support/RWMutex.h:148
¶bool unlock_shared()
bool unlock_shared()
Declared at: llvm/include/llvm/Support/RWMutex.h:122