LLVM API Documentation

Public Member Functions | Public Attributes
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 >:
Collaboration graph
[legend]

List of all members.

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 145 of file RWMutex.h.


Constructor & Destructor Documentation

template<bool mt_only>
llvm::sys::SmartScopedReader< mt_only >::SmartScopedReader ( SmartRWMutex< mt_only > &  m) [inline, explicit]

Definition at line 148 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 152 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: