diff options
author | Graham Madarasz (Graham) <graham@lindenlab.com> | 2013-02-28 16:37:09 -0800 |
---|---|---|
committer | Graham Madarasz (Graham) <graham@lindenlab.com> | 2013-02-28 16:37:09 -0800 |
commit | ae1aa461ea3f96c092e2a50ae40f290b03b25356 (patch) | |
tree | 5ed6d3fcde98bd50a2486c321cde0db6dd1daf52 /indra/llcommon/llthread.cpp | |
parent | 93eaccae6fe6e8442a3c6e5a2d40a408aa44df77 (diff) |
Attempt at a faster ThreadSafeRefCount class
Diffstat (limited to 'indra/llcommon/llthread.cpp')
-rw-r--r-- | indra/llcommon/llthread.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/indra/llcommon/llthread.cpp b/indra/llcommon/llthread.cpp index 1d56a52c32..6c117f7daf 100644 --- a/indra/llcommon/llthread.cpp +++ b/indra/llcommon/llthread.cpp @@ -495,15 +495,7 @@ LLThreadSafeRefCount::LLThreadSafeRefCount() : LLThreadSafeRefCount::LLThreadSafeRefCount(const LLThreadSafeRefCount& src) { - if (sMutex) - { - sMutex->lock(); - } mRef = 0; - if (sMutex) - { - sMutex->unlock(); - } } LLThreadSafeRefCount::~LLThreadSafeRefCount() |