LLVM API Documentation
#include <RWMutex.h>
Public Member Functions | |
SmartRWMutex () | |
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.
llvm::sys::SmartRWMutex< mt_only >::SmartRWMutex | ( | ) | [inline, explicit] |
bool llvm::sys::SmartRWMutex< mt_only >::lock | ( | ) | [inline] |
bool llvm::sys::SmartRWMutex< mt_only >::lock_shared | ( | ) | [inline] |
bool llvm::sys::SmartRWMutex< mt_only >::unlock | ( | ) | [inline] |
bool llvm::sys::SmartRWMutex< mt_only >::unlock_shared | ( | ) | [inline] |