LLVM
8.0.1
|
ScopedReader - RAII acquisition of a reader lock. More...
#include "llvm/Support/RWMutex.h"
Public Member Functions | |
SmartScopedReader (SmartRWMutex< mt_only > &m) | |
~SmartScopedReader () | |
Public Attributes | |
SmartRWMutex< mt_only > & | mutex |
ScopedReader - RAII acquisition of a reader lock.
|
inlineexplicit |
Definition at line 149 of file RWMutex.h.
References llvm::sys::SmartRWMutex< mt_only >::lock_shared().
|
inline |
Definition at line 153 of file RWMutex.h.
References llvm::sys::SmartRWMutex< mt_only >::unlock_shared().
SmartRWMutex<mt_only>& llvm::sys::SmartScopedReader< mt_only >::mutex |