diff options
author | Thomas Grainger <tagrain@gmail.com> | 2022-10-08 00:24:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 00:24:01 (GMT) |
commit | 3d8b22454728b6d54cc476cfb59e47ab40f3f527 (patch) | |
tree | 32f85c6b66f858a5235408a1b2b3b4de98b6a7f1 /Misc/NEWS.d | |
parent | 27ce45d8e105d0c9f9286c3cab830590d4c7cea3 (diff) | |
download | cpython-3d8b22454728b6d54cc476cfb59e47ab40f3f527.zip cpython-3d8b22454728b6d54cc476cfb59e47ab40f3f527.tar.gz cpython-3d8b22454728b6d54cc476cfb59e47ab40f3f527.tar.bz2 |
GH-94182: Run the PidfdChildWatcher on the running loop (#94184)
There is no reason for this watcher to be attached to any particular loop.
This should make it safe to use regardless of the lifetime of the event loop running in the main thread
(relative to other loops).
Co-authored-by: Yury Selivanov <yury@edgedb.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-06-24-08-49-47.gh-issue-94182.Wknau0.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-06-24-08-49-47.gh-issue-94182.Wknau0.rst b/Misc/NEWS.d/next/Library/2022-06-24-08-49-47.gh-issue-94182.Wknau0.rst new file mode 100644 index 0000000..c7be864 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-06-24-08-49-47.gh-issue-94182.Wknau0.rst @@ -0,0 +1 @@ +run the :class:`asyncio.PidfdChildWatcher` on the running loop, this allows event loops to run subprocesses when there is no default event loop running on the main thread |