LLVM  3.7.0
Public Member Functions | Public Attributes | List of all members
llvm::sys::SmartScopedReader< mt_only > Struct Template Reference

ScopedReader - RAII acquisition of a reader lock. More...

#include <RWMutex.h>

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

Public Member Functions

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

Public Attributes

SmartRWMutex< mt_only > & mutex
 

Detailed Description

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

ScopedReader - RAII acquisition of a reader lock.

Definition at line 147 of file RWMutex.h.

Constructor & Destructor Documentation

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

Definition at line 150 of file RWMutex.h.

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

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

Definition at line 154 of file RWMutex.h.

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

Member Data Documentation

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

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