LLVM API Documentation

Public Member Functions | Public Attributes
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]

List of all members.

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


Constructor & Destructor Documentation

template<bool mt_only>
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.

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

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