From 71b1511db5c697a2748c87adafe94db8ce408a8d Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 18 Jul 2013 12:25:47 -0700 Subject: [PATCH] Revert "Revert "I confuse myself. Let's try this variable name instead."" This reverts commit 52dc7b2a96a28798d55d07d79d003ce5e3d35216. --- OpenSim/Framework/BlockingQueue.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Framework/BlockingQueue.cs b/OpenSim/Framework/BlockingQueue.cs index fb74a24784..3e90fac569 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)