aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/BlockingQueue.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Framework/BlockingQueue.cs b/OpenSim/Framework/BlockingQueue.cs
index 6fbf88f..0329e0f 100644
--- a/OpenSim/Framework/BlockingQueue.cs
+++ b/OpenSim/Framework/BlockingQueue.cs
@@ -111,5 +111,14 @@ namespace OpenSim.Framework
111 return m_queue.ToArray(); 111 return m_queue.ToArray();
112 } 112 }
113 } 113 }
114
115 public void Clear()
116 {
117 lock(m_queueSync)
118 {
119 m_pqueue.Clear();
120 m_queue.Clear();
121 }
122 }
114 } 123 }
115} 124}