diff options
author | Justin Clark-Casey (justincc) | 2012-12-05 23:33:48 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-12-05 23:33:48 +0000 |
commit | 5ba99cbf554d965a6b11114a602c5317ca8f5ebd (patch) | |
tree | 70243117bf36f5f2bee502faafc63db06ec78a73 /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |
parent | For now, sort "show scripts" output in descending order sorted by events proc... (diff) | |
download | opensim-SC-5ba99cbf554d965a6b11114a602c5317ca8f5ebd.zip opensim-SC-5ba99cbf554d965a6b11114a602c5317ca8f5ebd.tar.gz opensim-SC-5ba99cbf554d965a6b11114a602c5317ca8f5ebd.tar.bz2 opensim-SC-5ba99cbf554d965a6b11114a602c5317ca8f5ebd.tar.xz |
Add IScriptInstance.EventsQueued to match EventsProcessed instead of asking callers to lock and directly inspect the EventQueue
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 394826e..aeb807c 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -526,10 +526,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
526 | 526 | ||
527 | sb.AppendFormat("Script name : {0}\n", instance.ScriptName); | 527 | sb.AppendFormat("Script name : {0}\n", instance.ScriptName); |
528 | sb.AppendFormat("Status : {0}\n", status); | 528 | sb.AppendFormat("Status : {0}\n", status); |
529 | 529 | sb.AppendFormat("Queued events : {0}\n", instance.EventsQueued); | |
530 | lock (eq) | ||
531 | sb.AppendFormat("Queued events : {0}\n", eq.Count); | ||
532 | |||
533 | sb.AppendFormat("Processed events : {0}\n", instance.EventsProcessed); | 530 | sb.AppendFormat("Processed events : {0}\n", instance.EventsProcessed); |
534 | sb.AppendFormat("Item UUID : {0}\n", instance.ItemID); | 531 | sb.AppendFormat("Item UUID : {0}\n", instance.ItemID); |
535 | sb.AppendFormat("Containing part name: {0}\n", instance.PrimName); | 532 | sb.AppendFormat("Containing part name: {0}\n", instance.PrimName); |