diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 8c3bb5b..18569ca 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -47,7 +47,6 @@ using OpenSim.Framework.Console; | |||
47 | using OpenSim.Region.Framework.Scenes; | 47 | using OpenSim.Region.Framework.Scenes; |
48 | using OpenSim.Region.Framework.Interfaces; | 48 | using OpenSim.Region.Framework.Interfaces; |
49 | using OpenSim.Region.ScriptEngine.Shared; | 49 | using OpenSim.Region.ScriptEngine.Shared; |
50 | using OpenSim.Region.ScriptEngine.Shared.ScriptBase; | ||
51 | using OpenSim.Region.ScriptEngine.Shared.CodeTools; | 50 | using OpenSim.Region.ScriptEngine.Shared.CodeTools; |
52 | using OpenSim.Region.ScriptEngine.Shared.Instance; | 51 | using OpenSim.Region.ScriptEngine.Shared.Instance; |
53 | using OpenSim.Region.ScriptEngine.Shared.Api; | 52 | using OpenSim.Region.ScriptEngine.Shared.Api; |
@@ -606,7 +605,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
606 | } | 605 | } |
607 | 606 | ||
608 | StringBuilder sb = new StringBuilder(); | 607 | StringBuilder sb = new StringBuilder(); |
609 | Queue eq = instance.EventQueue; | ||
610 | 608 | ||
611 | sb.AppendFormat("Script name : {0}\n", instance.ScriptName); | 609 | sb.AppendFormat("Script name : {0}\n", instance.ScriptName); |
612 | sb.AppendFormat("Status : {0}\n", status); | 610 | sb.AppendFormat("Status : {0}\n", status); |
@@ -1486,7 +1484,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1486 | m_MaxScriptQueue = maxScriptQueue; | 1484 | m_MaxScriptQueue = maxScriptQueue; |
1487 | 1485 | ||
1488 | STPStartInfo startInfo = new STPStartInfo(); | 1486 | STPStartInfo startInfo = new STPStartInfo(); |
1489 | startInfo.IdleTimeout = idleTimeout*1000; // convert to seconds as stated in .ini | 1487 | startInfo.ThreadPoolName = "XEngine"; |
1488 | startInfo.IdleTimeout = idleTimeout * 1000; // convert to seconds as stated in .ini | ||
1490 | startInfo.MaxWorkerThreads = maxThreads; | 1489 | startInfo.MaxWorkerThreads = maxThreads; |
1491 | startInfo.MinWorkerThreads = minThreads; | 1490 | startInfo.MinWorkerThreads = minThreads; |
1492 | startInfo.ThreadPriority = threadPriority;; | 1491 | startInfo.ThreadPriority = threadPriority;; |
@@ -1494,7 +1493,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1494 | startInfo.StartSuspended = true; | 1493 | startInfo.StartSuspended = true; |
1495 | 1494 | ||
1496 | m_ThreadPool = new SmartThreadPool(startInfo); | 1495 | m_ThreadPool = new SmartThreadPool(startInfo); |
1497 | m_ThreadPool.Name = "XEngine"; | ||
1498 | } | 1496 | } |
1499 | 1497 | ||
1500 | // | 1498 | // |