OpenSimMirror/OpenSim/Region/ScriptEngine/Shared/Tests
Justin Clark-Casey (justincc) 0963ece25b Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.)
This makes use of EventWaitHandles since various web references indicate that Thread.Interrupt() can also cause runtime instability.
If co-op termination is enabled, then termination sets the wait handle instead of waiting for a timeout before possibly aborting the thread.
This allows the script to cleanly terminate if it's in a llSleep/LL function delay or the next time it enters such a wait without any timeout period.
Co-op termination is not yet testable since checking for termination request within loops that never trigger a wait is not yet implemented.
This commit, unlike 1b5c41c, passes the wait handle as an extra parameter through IScript.Initialize() instead of passing IScriptInstance itself.
2013-01-16 02:07:43 +00:00
..
LSL_ApiInventoryTests.cs Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.) 2013-01-16 02:07:43 +00:00
LSL_ApiLinkingTests.cs Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.) 2013-01-16 02:07:43 +00:00
LSL_ApiListTests.cs Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.) 2013-01-16 02:07:43 +00:00
LSL_ApiTest.cs Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.) 2013-01-16 02:07:43 +00:00
LSL_TypesTestLSLFloat.cs Consistenly make NUnit test cases inherit from OpenSimTestCase which automatically turns off any logging enabled between tests 2012-11-24 03:15:24 +00:00
LSL_TypesTestLSLInteger.cs Consistenly make NUnit test cases inherit from OpenSimTestCase which automatically turns off any logging enabled between tests 2012-11-24 03:15:24 +00:00
LSL_TypesTestLSLString.cs Consistenly make NUnit test cases inherit from OpenSimTestCase which automatically turns off any logging enabled between tests 2012-11-24 03:15:24 +00:00
LSL_TypesTestList.cs Consistenly make NUnit test cases inherit from OpenSimTestCase which automatically turns off any logging enabled between tests 2012-11-24 03:15:24 +00:00
LSL_TypesTestVector3.cs Consistenly make NUnit test cases inherit from OpenSimTestCase which automatically turns off any logging enabled between tests 2012-11-24 03:15:24 +00:00
OSSL_ApiAppearanceTest.cs Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.) 2013-01-16 02:07:43 +00:00
OSSL_ApiAttachmentTests.cs Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.) 2013-01-16 02:07:43 +00:00
OSSL_ApiNpcTests.cs Implement co-operative script termination if termination comes during a script wait event (llSleep(), etc.) 2013-01-16 02:07:43 +00:00