diff options
author | Diva Canto | 2013-07-17 13:26:15 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-17 13:26:15 -0700 |
commit | 1d3deda10cf85abd68a5f904d6698ae597a67cc0 (patch) | |
tree | 36889ae742efcbf0017efc0abd0bc8ecd995fbfd | |
parent | Do the same trick that dahlia did for Dequeue(timeout) (diff) | |
download | opensim-SC_OLD-1d3deda10cf85abd68a5f904d6698ae597a67cc0.zip opensim-SC_OLD-1d3deda10cf85abd68a5f904d6698ae597a67cc0.tar.gz opensim-SC_OLD-1d3deda10cf85abd68a5f904d6698ae597a67cc0.tar.bz2 opensim-SC_OLD-1d3deda10cf85abd68a5f904d6698ae597a67cc0.tar.xz |
I confuse myself. Let's try this variable name instead.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/BlockingQueue.cs | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
76 | { | 76 | { |
77 | lock (m_queueSync) | 77 | lock (m_queueSync) |
78 | { | 78 | { |
79 | bool timedout = false; | 79 | bool success = true; |
80 | while (m_queue.Count < 1 && m_pqueue.Count < 1 && !timedout) | 80 | while (m_queue.Count < 1 && m_pqueue.Count < 1 && success) |
81 | { | 81 | { |
82 | timedout = Monitor.Wait(m_queueSync, msTimeout); | 82 | success = Monitor.Wait(m_queueSync, msTimeout); |
83 | } | 83 | } |
84 | 84 | ||
85 | if (m_pqueue.Count > 0) | 85 | if (m_pqueue.Count > 0) |