LLVM  4.0.0
Public Member Functions | Protected Member Functions | List of all members
llvm::ThreadSafeRefCountedBase< Derived > Class Template Reference

A thread-safe version of RefCountedBase. More...

#include <IntrusiveRefCntPtr.h>

Public Member Functions

void Retain () const
 
void Release () const
 

Protected Member Functions

 ThreadSafeRefCountedBase ()
 

Detailed Description

template<class Derived>
class llvm::ThreadSafeRefCountedBase< Derived >

A thread-safe version of RefCountedBase.

Definition at line 87 of file IntrusiveRefCntPtr.h.

Constructor & Destructor Documentation

template<class Derived >
llvm::ThreadSafeRefCountedBase< Derived >::ThreadSafeRefCountedBase ( )
inlineprotected

Definition at line 91 of file IntrusiveRefCntPtr.h.

Member Function Documentation

template<class Derived >
void llvm::ThreadSafeRefCountedBase< Derived >::Release ( ) const
inline

Definition at line 96 of file IntrusiveRefCntPtr.h.

References assert().

template<class Derived >
void llvm::ThreadSafeRefCountedBase< Derived >::Retain ( ) const
inline

Definition at line 94 of file IntrusiveRefCntPtr.h.


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