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

Detect if JSThread threw JS or C++ exception

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc1
    • Affects Version/s: 2.8.0-rc0
    • Component/s: Internal Code, JavaScript
    • Labels:
      None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: