From 1d3deda10cf85abd68a5f904d6698ae597a67cc0 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Wed, 17 Jul 2013 13:26:15 -0700 Subject: I confuse myself. Let's try this variable name instead. --- OpenSim/Framework/BlockingQueue.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework/BlockingQueue.cs') diff --git a/OpenSim/Framework/BlockingQueue.cs b/OpenSim/Framework/BlockingQueue.cs index fb74a24..3e90fac 100644 --- a/OpenSim/Framework/BlockingQueue.cs +++ b/OpenSim/Framework/BlockingQueue.cs @@ -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) -- cgit v1.1