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

Detect if JSThread threw JS or C++ exception

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.8.0-rc0
    • 2.8.0-rc1
    • Internal Code, JavaScript
    • None
    • Fully Compatible

    Description

      Want to be able to detect if a thread threw a JS or C++ exception during its execution, without calling join() on the thread.

      This will be used within the concurrency tests to avoid hanging, e.g. if there was a socket exception when spawning one of the worker threads.

      Attachments

        Activity

          People

            max.hirschhorn@mongodb.com Max Hirschhorn
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: