Skip to content

Commit

Permalink
[3.13] pythongh-121592: Make select.poll() and related objects thread…
Browse files Browse the repository at this point in the history
…-safe (pythonGH-121594) (python#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
(pythongh-121544).
(cherry picked from commit 44937d1)

Co-authored-by: Sam Gross <[email protected]>
  • Loading branch information
miss-islington and colesbury authored Jul 11, 2024
1 parent 261c8e9 commit 3b5f8d2
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 22 deletions.
51 changes: 46 additions & 5 deletions Modules/clinic/selectmodule.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3b5f8d2

Please sign in to comment.