diff options
author | Matthew Breindel (Falcon) <falcon@lindenlab.com> | 2010-07-13 17:16:36 -0700 |
---|---|---|
committer | Matthew Breindel (Falcon) <falcon@lindenlab.com> | 2010-07-13 17:16:36 -0700 |
commit | 37fc4e42dd173d92abb31be83dbd04fa3b7b70fa (patch) | |
tree | 0355075f8fb41548989517abc44a129f73c4a545 /indra/llcommon/llqueuedthread.cpp | |
parent | a884f5c0c794777f33012a5ca318fd98bab32667 (diff) | |
parent | 75c70884dab91490613ee0c9b866346a00bc9ad9 (diff) |
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) |