diff --git a/OpenSim/Framework/BlockingQueue.cs b/OpenSim/Framework/BlockingQueue.cs
index cc016b07c3..aef1192364 100644
--- a/OpenSim/Framework/BlockingQueue.cs
+++ b/OpenSim/Framework/BlockingQueue.cs
@@ -89,6 +89,12 @@ namespace OpenSim.Framework
}
}
+ ///
+ /// Indicate whether this queue contains the given item.
+ ///
+ ///
+ /// This method is not thread-safe. Do not rely on the result without consistent external locking.
+ ///
public bool Contains(T item)
{
if (m_queue.Count < 1 && m_pqueue.Count < 1)
@@ -102,11 +108,23 @@ namespace OpenSim.Framework
}
}
+ ///
+ /// Return a count of the number of requests on this queue.
+ ///
+ ///
+ /// This method is not thread-safe. Do not rely on the result without consistent external locking.
+ ///
public int Count()
{
- return m_queue.Count+m_pqueue.Count;
+ return m_queue.Count + m_pqueue.Count;
}
+ ///
+ /// Return the array of items on this queue.
+ ///
+ ///
+ /// This method is not thread-safe. Do not rely on the result without consistent external locking.
+ ///
public T[] GetQueueArray()
{
if (m_queue.Count < 1 && m_pqueue.Count < 1)