I confuse myself. Let's try this variable name instead.
parent
af792bc7f2
commit
1d3deda10c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue