]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34679: ProactorEventLoop only uses set_wakeup_fd() in main thread (GH-16901)
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 23 Oct 2019 15:43:57 +0000 (08:43 -0700)
committerGitHub <noreply@github.com>
Wed, 23 Oct 2019 15:43:57 +0000 (08:43 -0700)
commitcbf474c98e702d12c97cd16a1e44ede10ea52b5b
treeaedb25c172e86ebbee165d925192d8759d2cfc26
parentc54b54b49d330caf856c05b9e4cbd28967c3413a
bpo-34679: ProactorEventLoop only uses set_wakeup_fd() in main thread (GH-16901)

bpo-34679, bpo-38563: asyncio.ProactorEventLoop.close() now only calls
signal.set_wakeup_fd() in the main thread.
(cherry picked from commit 1b53a24fb4417c764dd5933bce505f5c94249ca6)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/asyncio/proactor_events.py
Lib/test/test_asyncio/test_windows_events.py
Misc/NEWS.d/next/Library/2019-10-23-16-25-12.bpo-34679.Bnw8o3.rst [new file with mode: 0644]