#include <llthread.h>
Public Member Functions | |
LLThreadSafeRefCount () | |
void | ref () |
S32 | unref () |
S32 | getNumRefs () const |
Static Public Member Functions | |
static void | initClass () |
static void | cleanupClass () |
Protected Member Functions | |
virtual | ~LLThreadSafeRefCount () |
Private Member Functions | |
LLThreadSafeRefCount (const LLThreadSafeRefCount &) | |
LLThreadSafeRefCount & | operator= (const LLThreadSafeRefCount &) |
Private Attributes | |
S32 | mRef |
Static Private Attributes | |
static LLMutex * | sMutex = 0 |
Definition at line 191 of file llthread.h.
LLThreadSafeRefCount::LLThreadSafeRefCount | ( | const LLThreadSafeRefCount & | ) | [private] |
LLThreadSafeRefCount::~LLThreadSafeRefCount | ( | ) | [protected, virtual] |
LLThreadSafeRefCount::LLThreadSafeRefCount | ( | ) |
Definition at line 380 of file llthread.cpp.
void LLThreadSafeRefCount::initClass | ( | ) | [static] |
Definition at line 362 of file llthread.cpp.
References sMutex.
Referenced by LLCommon::initClass().
void LLThreadSafeRefCount::cleanupClass | ( | ) | [static] |
Definition at line 371 of file llthread.cpp.
Referenced by LLAppViewer::cleanup(), and LLCommon::cleanupClass().
LLThreadSafeRefCount& LLThreadSafeRefCount::operator= | ( | const LLThreadSafeRefCount & | ) | [private] |
void LLThreadSafeRefCount::ref | ( | ) | [inline] |
Definition at line 210 of file llthread.h.
S32 LLThreadSafeRefCount::unref | ( | ) | [inline] |
S32 LLThreadSafeRefCount::getNumRefs | ( | ) | const [inline] |
Definition at line 230 of file llthread.h.
LLMutex * LLThreadSafeRefCount::sMutex = 0 [static, private] |
S32 LLThreadSafeRefCount::mRef [private] |