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

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 "[llvm/Support/Mutex.h](Mutex%5F8h%5Fsource.html)"

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

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.

Definition at line 28 of file Mutex.h.

lock()

try_lock()

unlock()


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