Revert "Revert "I confuse myself. Let's try this variable name instead.""
This reverts commit 52dc7b2a96
.
TeleportWork
parent
a22a4db5ce
commit
71b1511db5
|
@ -76,10 +76,10 @@ namespace OpenSim.Framework
|
|||
{
|
||||
lock (m_queueSync)
|
||||
{
|
||||
bool timedout = false;
|
||||
while (m_queue.Count < 1 && m_pqueue.Count < 1 && !timedout)
|
||||
bool success = true;
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue