aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Util.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 65cf177..efaed62 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -2304,7 +2304,11 @@ namespace OpenSim.Framework
2304 2304
2305 public virtual int Count 2305 public virtual int Count
2306 { 2306 {
2307 get { return m_highQueue.Count + m_lowQueue.Count; } 2307 get
2308 {
2309 lock (m_syncRoot)
2310 return m_highQueue.Count + m_lowQueue.Count;
2311 }
2308 } 2312 }
2309 2313
2310 public virtual void Enqueue(T data) 2314 public virtual void Enqueue(T data)