mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Revert "Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.)"
Doing this as a favour to Melanie. This will be back with passing the wait handles directly to the api.
This reverts commit 1b5c41c14a.
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using OpenMetaverse;
|
||||
using log4net;
|
||||
using OpenSim.Framework;
|
||||
@@ -181,18 +180,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
void Suspend();
|
||||
void Resume();
|
||||
|
||||
/// <summary>
|
||||
/// If true then scripts should look to terminate their threads in co-operation with the script engine rather
|
||||
/// than through Thread.Abort()
|
||||
/// </summary>
|
||||
bool CoopTermination { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Used for script sleeps when we are using co-operative script termination.
|
||||
/// </summary>
|
||||
/// <remarks>null if CoopTermination is not active</remarks>
|
||||
EventWaitHandle CoopSleepHandle { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Process the next event queued for this script instance.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user