Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Crash the process on unexpected failures when creating a
JoinableTask
Strictly speaking this is not necessary, as an exception would be thrown to the caller and no lingering adverse effects to the state of `JoinableTaskContext` are left behind. But we find this change useful because this is scheduling code and should be very reliable. Recently an `OutOfMemoryException` was thrown from this code (in a process with plenty of memory) and led other code to hang because it didn't expect JTF itself to fail. See #843 for more info on that.
- Loading branch information