summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-05 19:16:05 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-05 19:16:05 +0100
commit8d9c7855ddbe3f4666a293f29f4d6c89730d10c5 (patch)
tree6d84364e513f68908f2fddcbd1a4a68ca1958062 /indra/llcommon
parent447bffcb532694fcc3bc3b046051f02ac4550fd3 (diff)
parentf290e9e851e1af694cd8df86e171b79ed4186e90 (diff)
merge from viewer-public
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llworkerthread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llworkerthread.cpp b/indra/llcommon/llworkerthread.cpp
index 2629237f7e..a29e9a348e 100644
--- a/indra/llcommon/llworkerthread.cpp
+++ b/indra/llcommon/llworkerthread.cpp
@@ -404,7 +404,7 @@ void LLWorkerClass::scheduleDelete()
void LLWorkerClass::setPriority(U32 priority)
{
mMutex.lock();
- if (mRequestHandle != LLWorkerThread::nullHandle())
+ if (mRequestHandle != LLWorkerThread::nullHandle() && mRequestPriority != priority)
{
mRequestPriority = priority;
mWorkerThread->setPriority(mRequestHandle, priority);