diff options
author | Justin Clark-Casey (justincc) | 2012-03-14 00:29:36 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-14 00:29:36 +0000 |
commit | 95ec96bf86ebebbc6c2f2c3f3a2bd8ce3f9990f4 (patch) | |
tree | f4a9f3d82f7b62efc74d5a5f3f8dc97f6555a393 /OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | |
parent | Add max thread and min thread information to "xengine status" region console ... (diff) | |
download | opensim-SC-95ec96bf86ebebbc6c2f2c3f3a2bd8ce3f9990f4.zip opensim-SC-95ec96bf86ebebbc6c2f2c3f3a2bd8ce3f9990f4.tar.gz opensim-SC-95ec96bf86ebebbc6c2f2c3f3a2bd8ce3f9990f4.tar.bz2 opensim-SC-95ec96bf86ebebbc6c2f2c3f3a2bd8ce3f9990f4.tar.xz |
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
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs index d3200d5..f00e41f 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | |||
@@ -89,7 +89,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
89 | void Start(); | 89 | void Start(); |
90 | 90 | ||
91 | /// <summary> | 91 | /// <summary> |
92 | /// Stop the script. | 92 | /// Stop the script instance. |
93 | /// </summary> | 93 | /// </summary> |
94 | /// <param name="timeout"></param> | 94 | /// <param name="timeout"></param> |
95 | /// <returns>true if the script was successfully stopped, false otherwise</returns> | 95 | /// <returns>true if the script was successfully stopped, false otherwise</returns> |
@@ -97,13 +97,17 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
97 | 97 | ||
98 | void SetState(string state); | 98 | void SetState(string state); |
99 | 99 | ||
100 | /// <summary> | ||
101 | /// Post an event to this script instance. | ||
102 | /// </summary> | ||
103 | /// <param name="data"></param> | ||
100 | void PostEvent(EventParams data); | 104 | void PostEvent(EventParams data); |
101 | 105 | ||
102 | void Suspend(); | 106 | void Suspend(); |
103 | void Resume(); | 107 | void Resume(); |
104 | 108 | ||
105 | /// <summary> | 109 | /// <summary> |
106 | /// Process the next event queued for this script | 110 | /// Process the next event queued for this script instance. |
107 | /// </summary> | 111 | /// </summary> |
108 | /// <returns></returns> | 112 | /// <returns></returns> |
109 | object EventProcessor(); | 113 | object EventProcessor(); |