aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/BlockingQueue.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/BlockingQueue.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/BlockingQueue.cs b/OpenSim/Framework/BlockingQueue.cs
index 5b7e911..586ccd7 100644
--- a/OpenSim/Framework/BlockingQueue.cs
+++ b/OpenSim/Framework/BlockingQueue.cs
@@ -63,7 +63,7 @@ namespace OpenSim.Framework
63 Monitor.Wait(m_queueSync); 63 Monitor.Wait(m_queueSync);
64 } 64 }
65 65
66 if(m_pqueue.Count > 0) 66 if (m_pqueue.Count > 0)
67 return m_pqueue.Dequeue(); 67 return m_pqueue.Dequeue();
68 return m_queue.Dequeue(); 68 return m_queue.Dequeue();
69 } 69 }
@@ -73,7 +73,7 @@ namespace OpenSim.Framework
73 { 73 {
74 lock (m_queueSync) 74 lock (m_queueSync)
75 { 75 {
76 if(m_pqueue.Contains(item)) 76 if (m_pqueue.Contains(item))
77 return true; 77 return true;
78 return m_queue.Contains(item); 78 return m_queue.Contains(item);
79 } 79 }