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

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

#include "llvm/ADT/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 88 of file IntrusiveRefCntPtr.h.

Constructor & Destructor Documentation

◆ ThreadSafeRefCountedBase()

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

Definition at line 92 of file IntrusiveRefCntPtr.h.

Member Function Documentation

◆ Release()

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

Definition at line 97 of file IntrusiveRefCntPtr.h.

References assert().

◆ Retain()

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

Definition at line 95 of file IntrusiveRefCntPtr.h.


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