Skip to content

Commit 44937d1

Browse files
authored
gh-121592: Make select.poll() and related objects thread-safe (#121594)
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).
1 parent e6264b4 commit 44937d1

File tree

2 files changed

+96
-22
lines changed

2 files changed

+96
-22
lines changed

Diff for: Modules/clinic/selectmodule.c.h

+46-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)