diff options
| author | babenko <[email protected]> | 2026-07-04 17:18:53 +0300 |
|---|---|---|
| committer | babenko <[email protected]> | 2026-07-04 17:39:55 +0300 |
| commit | 7e913c3b5637b87684ab00d5fc7e29734abdcf57 (patch) | |
| tree | 0794c2c5e747af7d2765576eccab7acb4f25d16a /contrib/python/ipython/py3/IPython/utils/shimmodule.py | |
| parent | a5bcaf57e98e07d8f9ba15380e7d9312a60035ad (diff) | |
Propagate cancelable context cancelation to waiting fibers
Adds a fiber-local "current cancelable context" (TryGetCurrentCancelableContext / SwitchCurrentCancelableContext + move-only TCurrentCancelaleContextGuard), installed by the cancelable invoker. WaitUntilSet subscribes the current fiber's canceler to that context, so canceling the context cancels the whole fiber.
commit_hash:5a08f2c4689d7f2a0e45efdee20d563b782ca7ff
Diffstat (limited to 'contrib/python/ipython/py3/IPython/utils/shimmodule.py')
0 files changed, 0 insertions, 0 deletions
