LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
llvm::sys::SmartScopedWriter< mt_only > Struct Template Reference

ScopedWriter - RAII acquisition of a writer lock. More...

#include <RWMutex.h>

Collaboration diagram for llvm::sys::SmartScopedWriter< mt_only >:
Collaboration graph
[legend]

Public Member Functions

 SmartScopedWriter (SmartRWMutex< mt_only > &m)
 
 ~SmartScopedWriter ()
 

Public Attributes

SmartRWMutex< mt_only > & mutex
 

Detailed Description

template<bool mt_only>
struct llvm::sys::SmartScopedWriter< mt_only >

ScopedWriter - RAII acquisition of a writer lock.

Definition at line 159 of file RWMutex.h.

Constructor & Destructor Documentation

template<bool mt_only>
llvm::sys::SmartScopedWriter< mt_only >::SmartScopedWriter ( SmartRWMutex< mt_only > &  m)
inlineexplicit

Definition at line 162 of file RWMutex.h.

References llvm::sys::SmartScopedWriter< mt_only >::mutex.

template<bool mt_only>
llvm::sys::SmartScopedWriter< mt_only >::~SmartScopedWriter ( )
inline

Definition at line 166 of file RWMutex.h.

References llvm::sys::SmartScopedWriter< mt_only >::mutex.

Member Data Documentation

template<bool mt_only>
SmartRWMutex<mt_only>& llvm::sys::SmartScopedWriter< mt_only >::mutex

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