From b75c1b2191640f4a140dc4cd0e8ce35ab64863d9 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 25 Aug 2007 19:08:15 +0000 Subject: 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). --- OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs') 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 internal EventQueueManager myEventQueueManager; // Executes events internal ScriptManager myScriptManager; // Load, unload and execute scripts internal AppDomainManager myAppDomainManager; + internal LSLLongCmdHandler myLSLLongCmdHandler; private OpenSim.Framework.Console.LogBase m_log; @@ -77,6 +78,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine myEventManager = new EventManager(this); myScriptManager = new ScriptManager(this); myAppDomainManager = new AppDomainManager(); + myLSLLongCmdHandler = new LSLLongCmdHandler(this); // Should we iterate the region for scripts that needs starting? // Or can we assume we are loaded before anything else so we can use proper events? -- cgit v1.1