diff options
author | dolphin <dolphin@lindenlab.com> | 2013-10-04 09:19:25 -0700 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2013-10-04 09:19:25 -0700 |
commit | c2c060d4401d3a79a9ae0076af0c9b86d14f7f37 (patch) | |
tree | b7efcf3c2e38aa9de488342b3379b4bde0a6bc47 /indra/llcommon/llthread.cpp | |
parent | d44c85c6dc575c0c67019ce1bffecfaa5bc275d1 (diff) | |
parent | f7158bc5afcec1da8b9d2d5a4ed86921e62d4959 (diff) |
Merge with 3.6.7
Diffstat (limited to 'indra/llcommon/llthread.cpp')
-rwxr-xr-x | indra/llcommon/llthread.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/indra/llcommon/llthread.cpp b/indra/llcommon/llthread.cpp index 1d56a52c32..60adeeaeb7 100755 --- a/indra/llcommon/llthread.cpp +++ b/indra/llcommon/llthread.cpp @@ -67,7 +67,8 @@ LL_COMMON_API void assert_main_thread() static U32 s_thread_id = LLThread::currentID(); if (LLThread::currentID() != s_thread_id) { - llerrs << "Illegal execution outside main thread." << llendl; + llwarns << "Illegal execution from thread id " << (S32) LLThread::currentID() + << " outside main thread " << (S32) s_thread_id << llendl; } } @@ -495,15 +496,7 @@ LLThreadSafeRefCount::LLThreadSafeRefCount() : LLThreadSafeRefCount::LLThreadSafeRefCount(const LLThreadSafeRefCount& src) { - if (sMutex) - { - sMutex->lock(); - } mRef = 0; - if (sMutex) - { - sMutex->unlock(); - } } LLThreadSafeRefCount::~LLThreadSafeRefCount() |