diff options
author | Tedd Hansen | 2007-08-25 19:08:15 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-25 19:08:15 +0000 |
commit | b75c1b2191640f4a140dc4cd0e8ce35ab64863d9 (patch) | |
tree | 05a5194e8e304df86897003bdbceca68fd65fd80 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | |
parent | Scripts no longer crash sim after 5 minutes (override InitializeLifetimeServi... (diff) | |
download | opensim-SC_OLD-b75c1b2191640f4a140dc4cd0e8ce35ab64863d9.zip opensim-SC_OLD-b75c1b2191640f4a140dc4cd0e8ce35ab64863d9.tar.gz opensim-SC_OLD-b75c1b2191640f4a140dc4cd0e8ce35ab64863d9.tar.bz2 opensim-SC_OLD-b75c1b2191640f4a140dc4cd0e8ce35ab64863d9.tar.xz |
Added class for "long commands" (command that returns as event) with dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs index 77bd409..d0823d0 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | |||
@@ -48,6 +48,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
48 | internal EventQueueManager myEventQueueManager; // Executes events | 48 | internal EventQueueManager myEventQueueManager; // Executes events |
49 | internal ScriptManager myScriptManager; // Load, unload and execute scripts | 49 | internal ScriptManager myScriptManager; // Load, unload and execute scripts |
50 | internal AppDomainManager myAppDomainManager; | 50 | internal AppDomainManager myAppDomainManager; |
51 | internal LSLLongCmdHandler myLSLLongCmdHandler; | ||
51 | 52 | ||
52 | private OpenSim.Framework.Console.LogBase m_log; | 53 | private OpenSim.Framework.Console.LogBase m_log; |
53 | 54 | ||
@@ -77,6 +78,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
77 | myEventManager = new EventManager(this); | 78 | myEventManager = new EventManager(this); |
78 | myScriptManager = new ScriptManager(this); | 79 | myScriptManager = new ScriptManager(this); |
79 | myAppDomainManager = new AppDomainManager(); | 80 | myAppDomainManager = new AppDomainManager(); |
81 | myLSLLongCmdHandler = new LSLLongCmdHandler(this); | ||
80 | 82 | ||
81 | // Should we iterate the region for scripts that needs starting? | 83 | // Should we iterate the region for scripts that needs starting? |
82 | // Or can we assume we are loaded before anything else so we can use proper events? | 84 | // Or can we assume we are loaded before anything else so we can use proper events? |