Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38785

Enable interruptions in JS

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Service Arch 2018-12-31

      Description

      Enabling periodic interruptions in javascript would allow us to checkForInterrupt without an outside thread (allowing us to detect killop/ socket disconnect without things like the killop listener).

      The main impediment here is that the default interruption mechanism is signal based, and that we make syscalls from javascript which we don't intend to receive eintr.  We can remove that signal handler, but need to measure the performance impact.

      If we don't do something in this space, socket disconnect is killop won't work for javascript

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: