aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorDiva Canto2012-03-13 08:07:11 -0700
committerDiva Canto2012-03-13 08:07:11 -0700
commit37828c9b9a065e5ee4df06e05eecd1e0a41ea07e (patch)
treefbcc970ef6fa4256e98edf71d1ce4dc9c621440c /OpenSim/Region/ScriptEngine
parentDatasnapshot: added "secret" to the registration/deregistration query so that... (diff)
parentAdd max thread and min thread information to "xengine status" region console ... (diff)
downloadopensim-SC_OLD-37828c9b9a065e5ee4df06e05eecd1e0a41ea07e.zip
opensim-SC_OLD-37828c9b9a065e5ee4df06e05eecd1e0a41ea07e.tar.gz
opensim-SC_OLD-37828c9b9a065e5ee4df06e05eecd1e0a41ea07e.tar.bz2
opensim-SC_OLD-37828c9b9a065e5ee4df06e05eecd1e0a41ea07e.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs3
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs2
2 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index bc1902b..4010167 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -578,7 +578,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
578 return true; 578 return true;
579 579
580 if (!m_InSelfDelete) 580 if (!m_InSelfDelete)
581 {
582// m_log.ErrorFormat("[SCRIPT INSTANCE]: Aborting script {0} {1}", ScriptName, ItemID);
581 result.Abort(); 583 result.Abort();
584 }
582 585
583 lock (m_EventQueue) 586 lock (m_EventQueue)
584 { 587 {
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index b433430..66349e3 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -384,6 +384,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine
384 384
385 sb.AppendFormat("Unique scripts : {0}\n", m_uniqueScripts.Count); 385 sb.AppendFormat("Unique scripts : {0}\n", m_uniqueScripts.Count);
386 sb.AppendFormat("Scripts waiting for load : {0}\n", m_CompileQueue.Count); 386 sb.AppendFormat("Scripts waiting for load : {0}\n", m_CompileQueue.Count);
387 sb.AppendFormat("Max threads : {0}\n", m_ThreadPool.MaxThreads);
388 sb.AppendFormat("Min threads : {0}\n", m_ThreadPool.MinThreads);
387 sb.AppendFormat("Allocated threads : {0}\n", m_ThreadPool.ActiveThreads); 389 sb.AppendFormat("Allocated threads : {0}\n", m_ThreadPool.ActiveThreads);
388 sb.AppendFormat("In use threads : {0}\n", m_ThreadPool.InUseThreads); 390 sb.AppendFormat("In use threads : {0}\n", m_ThreadPool.InUseThreads);
389 sb.AppendFormat("Work items waiting : {0}\n", m_ThreadPool.WaitingCallbacks); 391 sb.AppendFormat("Work items waiting : {0}\n", m_ThreadPool.WaitingCallbacks);