LLVM API Documentation
ScopedWriter - RAII acquisition of a writer lock. More...
#include <RWMutex.h>
Public Member Functions | |
SmartScopedWriter (SmartRWMutex< mt_only > &m) | |
~SmartScopedWriter () | |
Public Attributes | |
SmartRWMutex< mt_only > & | mutex |
ScopedWriter - RAII acquisition of a writer lock.
llvm::sys::SmartScopedWriter< mt_only >::SmartScopedWriter | ( | SmartRWMutex< mt_only > & | m | ) | [inline, explicit] |
Definition at line 163 of file RWMutex.h.
References llvm::sys::SmartScopedWriter< mt_only >::mutex.
llvm::sys::SmartScopedWriter< mt_only >::~SmartScopedWriter | ( | ) | [inline] |
Definition at line 167 of file RWMutex.h.
References llvm::sys::SmartScopedWriter< mt_only >::mutex.
SmartRWMutex<mt_only>& llvm::sys::SmartScopedWriter< mt_only >::mutex |
Definition at line 161 of file RWMutex.h.
Referenced by llvm::sys::SmartScopedWriter< mt_only >::SmartScopedWriter(), and llvm::sys::SmartScopedWriter< mt_only >::~SmartScopedWriter().