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

cpu-performance
Diva Canto 2013-07-17 13:26:15 -07:00
parent af792bc7f2
commit 1d3deda10c
1 changed files with 3 additions and 3 deletions

View File

@ -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)