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/Interfaces | |
parent | For now, sort "show scripts" output in descending order sorted by events proc... (diff) | |
download | opensim-SC_OLD-5ba99cbf554d965a6b11114a602c5317ca8f5ebd.zip opensim-SC_OLD-5ba99cbf554d965a6b11114a602c5317ca8f5ebd.tar.gz opensim-SC_OLD-5ba99cbf554d965a6b11114a602c5317ca8f5ebd.tar.bz2 opensim-SC_OLD-5ba99cbf554d965a6b11114a602c5317ca8f5ebd.tar.xz |
Add IScriptInstance.EventsQueued to match EventsProcessed instead of asking callers to lock and directly inspect the EventQueue
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Interfaces')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs index f3abd96..0cef550 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | |||
@@ -115,6 +115,11 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
115 | Queue EventQueue { get; } | 115 | Queue EventQueue { get; } |
116 | 116 | ||
117 | /// <summary> | 117 | /// <summary> |
118 | /// Number of events queued for processing. | ||
119 | /// </summary> | ||
120 | long EventsQueued { get; } | ||
121 | |||
122 | /// <summary> | ||
118 | /// Number of events processed by this script instance. | 123 | /// Number of events processed by this script instance. |
119 | /// </summary> | 124 | /// </summary> |
120 | long EventsProcessed { get; } | 125 | long EventsProcessed { get; } |