Skip to content

Commit

Permalink
[3.12] gh-100227: Lock Around Modification of the Global Allocators S…
Browse files Browse the repository at this point in the history
…tate (gh-105516) (gh-105532)

The risk of a race with this state is relatively low, but we play it safe anyway. We do avoid using the lock in performance-sensitive cases where the risk of a race is very, very low.
(cherry picked from commit 68dfa49)

Co-authored-by: Eric Snow <[email protected]>
  • Loading branch information
miss-islington and ericsnowcurrently authored Jun 8, 2023
1 parent 3eccd95 commit 77c03a3
Show file tree
Hide file tree
Showing 5 changed files with 357 additions and 227 deletions.
Loading

0 comments on commit 77c03a3

Please sign in to comment.