Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,

which is a thin wrapper around a IWorkItemResult from the SmartThreadPool.
However, it is very easy to reimplement on top of basic threading and therefore
makes the IScriptInstance class independent of the specific threading
implementation.
This commit is contained in:
Melanie Thielker
2008-08-28 00:37:22 +00:00
parent 82aa9ba2b5
commit bf4d1fbb8d
5 changed files with 79 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
bool GetScriptState(LLUUID itemID);
void SetState(LLUUID itemID, string newState);
int GetStartParameter(LLUUID itemID);
IWorkItemResult QueueEventHandler(object parms);
IScriptWorkItem QueueEventHandler(object parms);
DetectParams GetDetectParams(LLUUID item, int number);
}