mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
refactor: rename ScriptInstance.m_CurrentResult to m_CurrentWorkItem to make it more understandable as to what it is and what it does (hold a thread pool work item for a waiting of in-progress event)
Also add other various illustrative comments
This commit is contained in:
@@ -89,7 +89,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
void Start();
|
||||
|
||||
/// <summary>
|
||||
/// Stop the script.
|
||||
/// Stop the script instance.
|
||||
/// </summary>
|
||||
/// <param name="timeout"></param>
|
||||
/// <returns>true if the script was successfully stopped, false otherwise</returns>
|
||||
@@ -97,13 +97,17 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
|
||||
void SetState(string state);
|
||||
|
||||
/// <summary>
|
||||
/// Post an event to this script instance.
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
void PostEvent(EventParams data);
|
||||
|
||||
void Suspend();
|
||||
void Resume();
|
||||
|
||||
/// <summary>
|
||||
/// Process the next event queued for this script
|
||||
/// Process the next event queued for this script instance.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
object EventProcessor();
|
||||
|
||||
Reference in New Issue
Block a user