diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
4 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncLSLCommandManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncLSLCommandManager.cs index 222b8f2..81e3438 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncLSLCommandManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncLSLCommandManager.cs | |||
@@ -57,6 +57,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
57 | cmdHandlerThread.Priority = ThreadPriority.BelowNormal; | 57 | cmdHandlerThread.Priority = ThreadPriority.BelowNormal; |
58 | cmdHandlerThread.IsBackground = true; | 58 | cmdHandlerThread.IsBackground = true; |
59 | cmdHandlerThread.Start(); | 59 | cmdHandlerThread.Start(); |
60 | OpenSim.Framework.ThreadTracker.Add(cmdHandlerThread); | ||
60 | } | 61 | } |
61 | 62 | ||
62 | public void ReadConfig() | 63 | public void ReadConfig() |
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs index d4db935..6f96654 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | |||
@@ -117,6 +117,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
117 | EventQueueThread.Priority = MyThreadPriority; | 117 | EventQueueThread.Priority = MyThreadPriority; |
118 | EventQueueThread.Name = "EventQueueManagerThread_" + ThreadCount; | 118 | EventQueueThread.Name = "EventQueueManagerThread_" + ThreadCount; |
119 | EventQueueThread.Start(); | 119 | EventQueueThread.Start(); |
120 | OpenSim.Framework.ThreadTracker.Add(EventQueueThread); | ||
120 | 121 | ||
121 | // Look at this... Don't you wish everyone did that solid coding everywhere? :P | 122 | // Look at this... Don't you wish everyone did that solid coding everywhere? :P |
122 | if (ThreadCount == int.MaxValue) | 123 | if (ThreadCount == int.MaxValue) |
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs index 47446a3..4776ffe 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs | |||
@@ -78,6 +78,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
78 | MaintenanceThreadThread.Name = "ScriptMaintenanceThread"; | 78 | MaintenanceThreadThread.Name = "ScriptMaintenanceThread"; |
79 | MaintenanceThreadThread.IsBackground = true; | 79 | MaintenanceThreadThread.IsBackground = true; |
80 | MaintenanceThreadThread.Start(); | 80 | MaintenanceThreadThread.Start(); |
81 | OpenSim.Framework.ThreadTracker.Add(MaintenanceThreadThread); | ||
81 | } | 82 | } |
82 | } | 83 | } |
83 | 84 | ||
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs index 43ff4ac..684d133 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs | |||
@@ -160,6 +160,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
160 | t.IsBackground = true; | 160 | t.IsBackground = true; |
161 | t.Priority = ThreadPriority.Normal; | 161 | t.Priority = ThreadPriority.Normal; |
162 | t.Start(); | 162 | t.Start(); |
163 | OpenSim.Framework.ThreadTracker.Add(t); | ||
163 | return t; | 164 | return t; |
164 | } | 165 | } |
165 | 166 | ||