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

This reverts commit 1d3deda10c.
TeleportWork
Diva Canto 2013-07-17 15:03:40 -07:00
parent 519dba9a69
commit 52dc7b2a96
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 success = true; bool timedout = false;
while (m_queue.Count < 1 && m_pqueue.Count < 1 && success) while (m_queue.Count < 1 && m_pqueue.Count < 1 && !timedout)
{ {
success = Monitor.Wait(m_queueSync, msTimeout); timedout = Monitor.Wait(m_queueSync, msTimeout);
} }
if (m_pqueue.Count > 0) if (m_pqueue.Count > 0)