LLVM 20.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 | try_lock_shared () |
bool | lock () |
bool | unlock () |
bool | try_lock () |
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 136 of file RWMutex.h.
References assert(), impl, and llvm::llvm_is_multithreaded().
|
inline |
Definition at line 109 of file RWMutex.h.
References impl, and llvm::llvm_is_multithreaded().
|
inline |
|
inline |
|
inline |
Definition at line 149 of file RWMutex.h.
References assert(), impl, and llvm::llvm_is_multithreaded().
|
inline |
Definition at line 121 of file RWMutex.h.
References assert(), impl, and llvm::llvm_is_multithreaded().