]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117657: Avoid race in `PAUSE_ADAPTIVE_COUNTER` in free-threaded build (#122190)
authorSam Gross <colesbury@gmail.com>
Tue, 30 Jul 2024 17:53:47 +0000 (13:53 -0400)
committerGitHub <noreply@github.com>
Tue, 30 Jul 2024 17:53:47 +0000 (13:53 -0400)
commit2b163aa9e796b312bb0549d49145d26e4904768e
treecbfe5e55783686a86b432e1955eb223e5f8b85b8
parent1d8e45390733d3eb29164799ea10f8406f53e830
gh-117657: Avoid race in `PAUSE_ADAPTIVE_COUNTER` in free-threaded build (#122190)

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.
Python/ceval_macros.h
Tools/tsan/suppressions_free_threading.txt