aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-02-22 16:15:08 +0000
committerTedd Hansen2008-02-22 16:15:08 +0000
commit42bcd76b36621e590e3756526e9550aea7932b14 (patch)
tree63fa2fd08a5c1bf7ac995e6703a678d6743599c1 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
parentMinor annoying Exception-bug fixed (diff)
downloadopensim-SC_OLD-42bcd76b36621e590e3756526e9550aea7932b14.zip
opensim-SC_OLD-42bcd76b36621e590e3756526e9550aea7932b14.tar.gz
opensim-SC_OLD-42bcd76b36621e590e3756526e9550aea7932b14.tar.bz2
opensim-SC_OLD-42bcd76b36621e590e3756526e9550aea7932b14.tar.xz
Bugfixes - wasn't counting threads right++
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
index 581c7a0..85b55f7 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs
@@ -68,7 +68,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
68 /// List of threads (classes) processing event queue 68 /// List of threads (classes) processing event queue
69 /// Note that this may or may not be a reference to a static object depending on PrivateRegionThreads config setting. 69 /// Note that this may or may not be a reference to a static object depending on PrivateRegionThreads config setting.
70 /// </summary> 70 /// </summary>
71 internal static List<EventQueueThreadClass> eventQueueThreads; // Thread pool that we work on 71 internal static List<EventQueueThreadClass> eventQueueThreads = new List<EventQueueThreadClass>(); // Thread pool that we work on
72 /// <summary> 72 /// <summary>
73 /// Locking access to eventQueueThreads AND staticGlobalEventQueueThreads. 73 /// Locking access to eventQueueThreads AND staticGlobalEventQueueThreads.
74 /// </summary> 74 /// </summary>
@@ -131,7 +131,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
131 /// Queue containing events waiting to be executed 131 /// Queue containing events waiting to be executed
132 /// </summary> 132 /// </summary>
133 public Queue<QueueItemStruct> eventQueue = new Queue<QueueItemStruct>(); 133 public Queue<QueueItemStruct> eventQueue = new Queue<QueueItemStruct>();
134 134
135 #region " Queue structures " 135 #region " Queue structures "
136 /// <summary> 136 /// <summary>
137 /// Queue item structure 137 /// Queue item structure
@@ -172,7 +172,6 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
172 { 172 {
173 m_ScriptEngine = _ScriptEngine; 173 m_ScriptEngine = _ScriptEngine;
174 174
175 eventQueueThreads = new List<EventQueueThreadClass>();
176 ReadConfig(); 175 ReadConfig();
177 } 176 }
178 177