diff options
author | Victor Stinner <vstinner@python.org> | 2020-09-12 06:50:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 06:50:18 (GMT) |
commit | 1b0f0e3d7d03155da1cf9769a847874d559e57e3 (patch) | |
tree | 4668e74414cfc8b360dc2c68b7233766b54906ab /Misc | |
parent | 7e711ead26fea6465e0ef2e3b8880b57ba8fc129 (diff) | |
download | cpython-1b0f0e3d7d03155da1cf9769a847874d559e57e3.zip cpython-1b0f0e3d7d03155da1cf9769a847874d559e57e3.tar.gz cpython-1b0f0e3d7d03155da1cf9769a847874d559e57e3.tar.bz2 |
bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197)
Fix a race condition in the call_soon_threadsafe() method of
asyncio.ProactorEventLoop: do nothing if the self-pipe socket has
been closed.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-09-11-12-38-55.bpo-39651.JMp9l2.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-09-11-12-38-55.bpo-39651.JMp9l2.rst b/Misc/NEWS.d/next/Library/2020-09-11-12-38-55.bpo-39651.JMp9l2.rst new file mode 100644 index 0000000..78dcff1 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-09-11-12-38-55.bpo-39651.JMp9l2.rst @@ -0,0 +1,3 @@ +Fix a race condition in the ``call_soon_threadsafe()`` method of +``asyncio.ProactorEventLoop``: do nothing if the self-pipe socket has been +closed. |