]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-117657: Avoid race in `PAUSE_ADAPTIVE_COUNTER` in free-threaded build ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 30 Jul 2024 18:18:25 +0000 (20:18 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Jul 2024 18:18:25 +0000 (18:18 +0000)
commit8e96d85386883684e2a77ac70696e2bee50f6306
tree8c3d03263b4f62676e3ccca7f9f17f14a5a2dce8
parent1912f94f60ddaea78afe1ff70f098859790f9595
[3.13] gh-117657: Avoid race in `PAUSE_ADAPTIVE_COUNTER` in free-threaded build (GH-122190) (#122475)

The adaptive counter doesn't do anything currently in the free-threaded
build and TSan reports a data race due to concurrent modifications to
the counter.
(cherry picked from commit 2b163aa9e796b312bb0549d49145d26e4904768e)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Python/ceval_macros.h
Tools/tsan/suppressions_free_threading.txt