LLVM API Documentation

Public Member Functions
llvm::sys::SmartRWMutex< mt_only > Class Template Reference

#include <RWMutex.h>

Inheritance diagram for llvm::sys::SmartRWMutex< mt_only >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SmartRWMutex ()
bool lock_shared ()
bool unlock_shared ()
bool lock ()
bool unlock ()

Detailed Description

template<bool mt_only>
class llvm::sys::SmartRWMutex< mt_only >

SmartMutex - An R/W mutex with a compile time constant parameter that indicates whether this mutex should become a no-op when we're not running in multithreaded mode.

Definition at line 88 of file RWMutex.h.


Constructor & Destructor Documentation

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

Definition at line 92 of file RWMutex.h.


Member Function Documentation

template<bool mt_only>
bool llvm::sys::SmartRWMutex< mt_only >::lock ( ) [inline]

Definition at line 115 of file RWMutex.h.

template<bool mt_only>
bool llvm::sys::SmartRWMutex< mt_only >::lock_shared ( ) [inline]

Definition at line 94 of file RWMutex.h.

template<bool mt_only>
bool llvm::sys::SmartRWMutex< mt_only >::unlock ( ) [inline]

Definition at line 126 of file RWMutex.h.

template<bool mt_only>
bool llvm::sys::SmartRWMutex< mt_only >::unlock_shared ( ) [inline]

Definition at line 104 of file RWMutex.h.


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