diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-07-14 10:17:10 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-07-14 10:17:10 -0400 |
commit | 6ce6ce238c68f7a6c99fef2baed9420caf09f848 (patch) | |
tree | 4291aa0cde0c982028382744fc236180245f23aa /indra/llcommon/llqueuedthread.cpp | |
parent | c5356935354013530432cfb07556902a039020a9 (diff) | |
parent | 4339600d43601f07d01c676cce5da17c2758c4cb (diff) |
automated merge
Diffstat (limited to 'indra/llcommon/llqueuedthread.cpp')
-rw-r--r-- | indra/llcommon/llqueuedthread.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llcommon/llqueuedthread.cpp b/indra/llcommon/llqueuedthread.cpp index 809a626c93..e0b56b7973 100644 --- a/indra/llcommon/llqueuedthread.cpp +++ b/indra/llcommon/llqueuedthread.cpp @@ -428,9 +428,11 @@ S32 LLQueuedThread::processNextRequest() llassert_always(req->getStatus() == STATUS_QUEUED); break; } + U32 start_priority = 0 ; if (req) { req->setStatus(STATUS_INPROGRESS); + start_priority = req->getPriority(); } unlockData(); @@ -439,8 +441,7 @@ S32 LLQueuedThread::processNextRequest() // safe to access req. if (req) { - // process request - U32 start_priority = req->getPriority(); + // process request bool complete = req->processRequest(); if (complete) |