diff options
author | Kumar Aditya <kumaraditya@python.org> | 2025-01-06 12:35:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 12:35:11 (GMT) |
commit | 7e8c571604cd18e65cefd26bfc48082840264549 (patch) | |
tree | 7fddef368e0289da0a6acfeb30b7635005e80689 /Misc | |
parent | 657d7b77e5c69967e9c0000b986fa4872d13958c (diff) | |
download | cpython-7e8c571604cd18e65cefd26bfc48082840264549.zip cpython-7e8c571604cd18e65cefd26bfc48082840264549.tar.gz cpython-7e8c571604cd18e65cefd26bfc48082840264549.tar.bz2 |
gh-128340: add thread safe handle for `loop.call_soon_threadsafe` (#128369)
Adds `_ThreadSafeHandle` to be used for callbacks scheduled with `loop.call_soon_threadsafe`.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2025-01-05-11-46-14.gh-issue-128340.gKI0uU.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2025-01-05-11-46-14.gh-issue-128340.gKI0uU.rst b/Misc/NEWS.d/next/Library/2025-01-05-11-46-14.gh-issue-128340.gKI0uU.rst new file mode 100644 index 0000000..790400a --- /dev/null +++ b/Misc/NEWS.d/next/Library/2025-01-05-11-46-14.gh-issue-128340.gKI0uU.rst @@ -0,0 +1 @@ +Add internal thread safe handle to be used in :meth:`asyncio.loop.call_soon_threadsafe` for thread safe cancellation. |