Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-317

Support script cancellation through less invasive API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.2
    • 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.

      Attachments

        Activity

          People

            henrib Henri Biestro
            henrib Henri Biestro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: