diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs index 366aaf1..eed0b86 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs | |||
@@ -59,7 +59,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
59 | 59 | ||
60 | private Thread scriptLoadUnloadThread; | 60 | private Thread scriptLoadUnloadThread; |
61 | private static Thread staticScriptLoadUnloadThread; | 61 | private static Thread staticScriptLoadUnloadThread; |
62 | private int scriptLoadUnloadThread_IdleSleepms; | 62 | // private int scriptLoadUnloadThread_IdleSleepms; |
63 | private Queue<LUStruct> LUQueue = new Queue<LUStruct>(); | 63 | private Queue<LUStruct> LUQueue = new Queue<LUStruct>(); |
64 | private static bool PrivateThread; | 64 | private static bool PrivateThread; |
65 | private int LoadUnloadMaxQueueSize; | 65 | private int LoadUnloadMaxQueueSize; |
@@ -100,7 +100,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
100 | 100 | ||
101 | public void ReadConfig() | 101 | public void ReadConfig() |
102 | { | 102 | { |
103 | scriptLoadUnloadThread_IdleSleepms = m_scriptEngine.ScriptConfigSource.GetInt("ScriptLoadUnloadLoopms", 30); | 103 | // scriptLoadUnloadThread_IdleSleepms = m_scriptEngine.ScriptConfigSource.GetInt("ScriptLoadUnloadLoopms", 30); |
104 | // TODO: Requires sharing of all ScriptManagers to single thread | 104 | // TODO: Requires sharing of all ScriptManagers to single thread |
105 | PrivateThread = true; // m_scriptEngine.ScriptConfigSource.GetBoolean("PrivateScriptLoadUnloadThread", false); | 105 | PrivateThread = true; // m_scriptEngine.ScriptConfigSource.GetBoolean("PrivateScriptLoadUnloadThread", false); |
106 | LoadUnloadMaxQueueSize = m_scriptEngine.ScriptConfigSource.GetInt("LoadUnloadMaxQueueSize", 100); | 106 | LoadUnloadMaxQueueSize = m_scriptEngine.ScriptConfigSource.GetInt("LoadUnloadMaxQueueSize", 100); |
@@ -245,7 +245,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
245 | 245 | ||
246 | #region Start/Stop/Reset script | 246 | #region Start/Stop/Reset script |
247 | 247 | ||
248 | private readonly Object startStopLock = new Object(); | 248 | // private readonly Object startStopLock = new Object(); |
249 | 249 | ||
250 | /// <summary> | 250 | /// <summary> |
251 | /// Fetches, loads and hooks up a script to an objects events | 251 | /// Fetches, loads and hooks up a script to an objects events |