LLVM: llvm::sys::SmartRWMutex< mt_only > Class Template Reference (original) (raw)

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](RWMutex%5F8h%5Fsource.html)"

Public Member Functions
bool lock_shared ()
bool unlock_shared ()
bool try_lock_shared ()
bool lock ()
bool unlock ()
bool try_lock ()

template<bool mt_only>
class llvm::sys::SmartRWMutex< mt_only >

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.

Definition at line 99 of file RWMutex.h.

lock()

lock_shared()

try_lock()

try_lock_shared()

unlock()

unlock_shared()


The documentation for this class was generated from the following file: