Skip to content

Commit d424609

Browse files
colesburyestyxx
authored andcommitted
pythongh-121592: Make select.poll() and related objects thread-safe (python#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 (pythongh-121544).
1 parent 8c7b1ea commit d424609

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)