LLVM
8.0.1
|
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 | |
SmartRWMutex ()=default | |
SmartRWMutex (const SmartRWMutex< mt_only > &original)=delete | |
SmartRWMutex< mt_only > & | operator= (const SmartRWMutex< mt_only > &)=delete |
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.
|
explicitdefault |
|
delete |
|
inline |
Definition at line 119 of file RWMutex.h.
Referenced by llvm::sys::SmartScopedWriter< mt_only >::SmartScopedWriter().
|
inline |
Definition at line 98 of file RWMutex.h.
Referenced by llvm::sys::SmartScopedReader< mt_only >::SmartScopedReader().
|
delete |
|
inline |
Definition at line 130 of file RWMutex.h.
Referenced by llvm::sys::SmartScopedWriter< mt_only >::~SmartScopedWriter().
|
inline |
Definition at line 108 of file RWMutex.h.
Referenced by llvm::sys::SmartScopedReader< mt_only >::~SmartScopedReader().