Skip to content

Commit 8b90a6c

Browse files
committed
pythongh-121592: Make select.poll() and related objects thread-safe
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 (pythongh-121544).
1 parent 3ec719f commit 8b90a6c

2 files changed

Lines changed: 96 additions & 22 deletions

File tree

‎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)