context: Fix deadlock when new context is created from already-canceled parent
See patch 2 for details and main fix.
@jerome, FYI I hit this deadlock while working on nxdtest <- test_result.isAlive cancellation.
See patch 2 for details and main fix.
@jerome, FYI I hit this deadlock while working on nxdtest <- test_result.isAlive cancellation.
This will create a new commit in order to revert the existing changes.