Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1
-
None
Description
WHAT: A way to cancel (aka stop interpretation) of a running script
WHY: To integrate script cancellation in exiting applications/environments, it is often difficult and costly to refactor the script calling code to use callable and/or interrupt threads. Another less invasive mean is necessary.
HOW: An atomic boolean reference that can be shared through an optional context interface will replace the (actual) volatile boolean that carries the interrupt status for the interpreter. This is the minimal disruption and the existing code logic does not change.