aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-02-21 10:43:24 +0000
committerTedd Hansen2008-02-21 10:43:24 +0000
commit7102ac77698f4bfd7406d6e8871db7b006c2cae2 (patch)
tree7253775d1a6ae64e2469b1ef79863aaebe83e1d1 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs
parentRemove a couple compiler warnings. (diff)
downloadopensim-SC-7102ac77698f4bfd7406d6e8871db7b006c2cae2.zip
opensim-SC-7102ac77698f4bfd7406d6e8871db7b006c2cae2.tar.gz
opensim-SC-7102ac77698f4bfd7406d6e8871db7b006c2cae2.tar.bz2
opensim-SC-7102ac77698f4bfd7406d6e8871db7b006c2cae2.tar.xz
"threads" command now works. I've added manual tracking of threads (only if compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs1
1 files changed, 1 insertions, 0 deletions
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