aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.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/ScriptManager.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/ScriptManager.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs1
1 files changed, 1 insertions, 0 deletions
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