Add IScriptInstance.EventsQueued to match EventsProcessed instead of asking callers to lock and directly inspect the EventQueue

This commit is contained in:
Justin Clark-Casey (justincc)
2012-12-05 23:33:48 +00:00
parent 652f4bcb42
commit 5ba99cbf55
3 changed files with 15 additions and 4 deletions

View File

@@ -114,6 +114,11 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
UUID AssetID { get; }
Queue EventQueue { get; }
/// <summary>
/// Number of events queued for processing.
/// </summary>
long EventsQueued { get; }
/// <summary>
/// Number of events processed by this script instance.
/// </summary>