[SERVER-16190] Detect if JSThread threw JS or C++ exception Created: 17/Nov/14 Updated: 24/Nov/14 Resolved: 17/Nov/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code, JavaScript |
| Affects Version/s: | 2.8.0-rc0 |
| Fix Version/s: | 2.8.0-rc1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| 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. |
| Comments |
| Comment by Githook User [ 17/Nov/14 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: Allows the caller to detect if the JSThread has thrown a JS or C++ |