LLVM 17.0.0git
|
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. More...
#include "llvm/Support/RWMutex.h"
Public Member Functions | |
bool | lock_shared () |
bool | unlock_shared () |
bool | lock () |
bool | unlock () |
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.
|
inline |
Definition at line 129 of file RWMutex.h.
References assert(), impl, and llvm::llvm_is_multithreaded().
|
inline |
Definition at line 104 of file RWMutex.h.
References impl, and llvm::llvm_is_multithreaded().
|
inline |
Definition at line 142 of file RWMutex.h.
References assert(), impl, and llvm::llvm_is_multithreaded().
|
inline |
Definition at line 116 of file RWMutex.h.
References assert(), impl, and llvm::llvm_is_multithreaded().