Skip to content

Commit 3b5f8d2

Browse files
[3.13] gh-121592: Make select.poll() and related objects thread-safe (GH-121594) (#121623)
This makes select.poll() and kqueue() objects thread-safe in the free-threaded build. Note that calling close() concurrently with other functions is still not thread-safe due to races on file descriptors (gh-121544). (cherry picked from commit 44937d1) Co-authored-by: Sam Gross <[email protected]>
1 parent 261c8e9 commit 3b5f8d2

File tree

2 files changed

+96
-22
lines changed

2 files changed

+96
-22
lines changed

Modules/clinic/selectmodule.c.h

Lines changed: 46 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)