diff options
author | Adam Frisby | 2008-04-29 14:04:55 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-29 14:04:55 +0000 |
commit | 375163a6fece8b3a57c7555246abe8338223a599 (patch) | |
tree | 163001ca96a4b4d08589e9772f78510677d5d0dc /OpenSim/Framework/BlockingQueue.cs | |
parent | Patch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie! (diff) | |
download | opensim-SC-375163a6fece8b3a57c7555246abe8338223a599.zip opensim-SC-375163a6fece8b3a57c7555246abe8338223a599.tar.gz opensim-SC-375163a6fece8b3a57c7555246abe8338223a599.tar.bz2 opensim-SC-375163a6fece8b3a57c7555246abe8338223a599.tar.xz |
* Spring cleaning.
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
Diffstat (limited to 'OpenSim/Framework/BlockingQueue.cs')
-rw-r--r-- | OpenSim/Framework/BlockingQueue.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/BlockingQueue.cs b/OpenSim/Framework/BlockingQueue.cs index dbb3d84..345b361 100644 --- a/OpenSim/Framework/BlockingQueue.cs +++ b/OpenSim/Framework/BlockingQueue.cs | |||
@@ -64,13 +64,13 @@ namespace OpenSim.Framework | |||
64 | return m_queue.Contains(item); | 64 | return m_queue.Contains(item); |
65 | } | 65 | } |
66 | } | 66 | } |
67 | 67 | ||
68 | public int Count() | 68 | public int Count() |
69 | { | 69 | { |
70 | lock(m_queueSync) | 70 | lock (m_queueSync) |
71 | { | 71 | { |
72 | return m_queue.Count; | 72 | return m_queue.Count; |
73 | } | 73 | } |
74 | } | 74 | } |
75 | 75 | ||
76 | public T[] GetQueueArray() | 76 | public T[] GetQueueArray() |
@@ -81,4 +81,4 @@ namespace OpenSim.Framework | |||
81 | } | 81 | } |
82 | } | 82 | } |
83 | } | 83 | } |
84 | } | 84 | } \ No newline at end of file |