LLVM  14.0.0git
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"

Inheritance diagram for llvm::ThreadSafeRefCountedBase< Derived >:
Inheritance graph
[legend]

Public Member Functions

void Retain () const
 
void Release () const
 

Protected Member Functions

 ThreadSafeRefCountedBase ()=default
 
 ThreadSafeRefCountedBase (const ThreadSafeRefCountedBase &)
 
ThreadSafeRefCountedBaseoperator= (const ThreadSafeRefCountedBase &)=delete
 
 ~ThreadSafeRefCountedBase ()
 

Detailed Description

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

A thread-safe version of RefCountedBase.

Definition at line 101 of file IntrusiveRefCntPtr.h.

Constructor & Destructor Documentation

◆ ThreadSafeRefCountedBase() [1/2]

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

◆ ThreadSafeRefCountedBase() [2/2]

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

Definition at line 106 of file IntrusiveRefCntPtr.h.

◆ ~ThreadSafeRefCountedBase()

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

Definition at line 111 of file IntrusiveRefCntPtr.h.

Member Function Documentation

◆ operator=()

template<class Derived >
ThreadSafeRefCountedBase& llvm::ThreadSafeRefCountedBase< Derived >::operator= ( const ThreadSafeRefCountedBase< Derived > &  )
protecteddelete

◆ Release()

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

Definition at line 124 of file IntrusiveRefCntPtr.h.

Referenced by llvm::orc::ResourceTracker::~ResourceTracker().

◆ Retain()

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

Definition at line 122 of file IntrusiveRefCntPtr.h.


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