]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-115041: Add wrappers that are atomic only in free-threaded builds (#115046)
authormpage <mpage@meta.com>
Wed, 14 Feb 2024 20:15:05 +0000 (12:15 -0800)
committerGitHub <noreply@github.com>
Wed, 14 Feb 2024 20:15:05 +0000 (15:15 -0500)
commita95b1a56bbba76a382a5c676b71db025915e8695
tree0271c350d6695bc59c30336f13134710f6b933ae
parentd9f4cbe5e1e3c31518724d87d0d379d7ce6823ca
gh-115041: Add wrappers that are atomic only in free-threaded builds (#115046)

These are intended to be used in places where atomics are required in
free-threaded builds but not in the default build. We don't want to
introduce the potential performance overhead of an atomic operation in the
default build.
Include/internal/pycore_pyatomic_ft_wrappers.h [new file with mode: 0644]
Makefile.pre.in
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters