Pass narrower WaitHandle rather than EventWaitHandle as co-op termination wait handle to script APIs.
APIs don't need to reference any methods on EventWaitHandle0.7.4-extended
parent
af30d9b07e
commit
1da5a1ab21
|
@ -46,6 +46,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||||
/// <param name='item'>/param>
|
/// <param name='item'>/param>
|
||||||
/// <param name='coopSleepHandle'>/param>
|
/// <param name='coopSleepHandle'>/param>
|
||||||
void Initialize(
|
void Initialize(
|
||||||
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, EventWaitHandle coopSleepHandle);
|
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, WaitHandle coopSleepHandle);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -90,7 +90,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
/// Used for script sleeps when we are using co-operative script termination.
|
/// Used for script sleeps when we are using co-operative script termination.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>null if co-operative script termination is not active</remarks>
|
/// <remarks>null if co-operative script termination is not active</remarks>
|
||||||
EventWaitHandle m_coopSleepHandle;
|
WaitHandle m_coopSleepHandle;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The item that hosts this script
|
/// The item that hosts this script
|
||||||
|
@ -115,7 +115,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
protected int EMAIL_PAUSE_TIME = 20; // documented delay value for smtp.
|
protected int EMAIL_PAUSE_TIME = 20; // documented delay value for smtp.
|
||||||
|
|
||||||
public void Initialize(
|
public void Initialize(
|
||||||
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, EventWaitHandle coopSleepHandle)
|
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, WaitHandle coopSleepHandle)
|
||||||
{
|
{
|
||||||
m_ScriptEngine = scriptEngine;
|
m_ScriptEngine = scriptEngine;
|
||||||
m_host = host;
|
m_host = host;
|
||||||
|
|
|
@ -63,7 +63,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
internal IScriptModuleComms m_comms = null;
|
internal IScriptModuleComms m_comms = null;
|
||||||
|
|
||||||
public void Initialize(
|
public void Initialize(
|
||||||
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, EventWaitHandle coopSleepHandle)
|
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, WaitHandle coopSleepHandle)
|
||||||
{
|
{
|
||||||
m_ScriptEngine = scriptEngine;
|
m_ScriptEngine = scriptEngine;
|
||||||
m_host = host;
|
m_host = host;
|
||||||
|
|
|
@ -63,7 +63,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
internal IScriptModuleComms m_comms = null;
|
internal IScriptModuleComms m_comms = null;
|
||||||
|
|
||||||
public void Initialize(
|
public void Initialize(
|
||||||
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, EventWaitHandle coopSleepHandle)
|
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, WaitHandle coopSleepHandle)
|
||||||
{
|
{
|
||||||
m_ScriptEngine = scriptEngine;
|
m_ScriptEngine = scriptEngine;
|
||||||
m_host = host;
|
m_host = host;
|
||||||
|
|
|
@ -142,7 +142,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
protected IUrlModule m_UrlModule = null;
|
protected IUrlModule m_UrlModule = null;
|
||||||
|
|
||||||
public void Initialize(
|
public void Initialize(
|
||||||
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, EventWaitHandle coopSleepHandle)
|
IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, WaitHandle coopSleepHandle)
|
||||||
{
|
{
|
||||||
m_ScriptEngine = scriptEngine;
|
m_ScriptEngine = scriptEngine;
|
||||||
m_host = host;
|
m_host = host;
|
||||||
|
|
Loading…
Reference in New Issue