Revert "Revert "I confuse myself. Let's try this variable name instead.""

This reverts commit 52dc7b2a96.
TeleportWork
Diva Canto 2013-07-18 12:25:47 -07:00
parent a22a4db5ce
commit 71b1511db5
1 changed files with 3 additions and 3 deletions

View File

@ -76,10 +76,10 @@ namespace OpenSim.Framework
{ {
lock (m_queueSync) lock (m_queueSync)
{ {
bool timedout = false; bool success = true;
while (m_queue.Count < 1 && m_pqueue.Count < 1 && !timedout) while (m_queue.Count < 1 && m_pqueue.Count < 1 && success)
{ {
timedout = Monitor.Wait(m_queueSync, msTimeout); success = Monitor.Wait(m_queueSync, msTimeout);
} }
if (m_pqueue.Count > 0) if (m_pqueue.Count > 0)