diff options
author | Tedd Hansen | 2008-02-22 13:23:45 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-22 13:23:45 +0000 |
commit | 3bb0fe098fc721a4d5059c0505c4d31165451f9f (patch) | |
tree | 0188aeda26c4efac35bace3400fad1a8d5e57d5d /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs | |
parent | Now last commit will compile too... The features just keep on coming! (diff) | |
download | opensim-SC_OLD-3bb0fe098fc721a4d5059c0505c4d31165451f9f.zip opensim-SC_OLD-3bb0fe098fc721a4d5059c0505c4d31165451f9f.tar.gz opensim-SC_OLD-3bb0fe098fc721a4d5059c0505c4d31165451f9f.tar.bz2 opensim-SC_OLD-3bb0fe098fc721a4d5059c0505c4d31165451f9f.tar.xz |
Maintenance thread in charge of loading/unloading of scripts. 1 thread less per region.
Total so far: 2 threads less per region
Note: Currently causes delay in load/unload of scripts
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs index 14f7c4f..5c9f76d 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs | |||
@@ -168,6 +168,11 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
168 | Last_maxFunctionExecutionTimens = DateTime.Now.Ticks; // Reset time | 168 | Last_maxFunctionExecutionTimens = DateTime.Now.Ticks; // Reset time |
169 | } | 169 | } |
170 | } | 170 | } |
171 | |||
172 | // LOAD / UNLOAD SCRIPTS | ||
173 | if (m_ScriptEngine.m_ScriptManager != null) | ||
174 | m_ScriptEngine.m_ScriptManager.DoScriptLoadUnload(); | ||
175 | |||
171 | } | 176 | } |
172 | } | 177 | } |
173 | } | 178 | } |