]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39465: Add pycore_atomic_funcs.h header (GH-20766)
authorVictor Stinner <vstinner@python.org>
Wed, 23 Dec 2020 02:41:08 +0000 (03:41 +0100)
committerGitHub <noreply@github.com>
Wed, 23 Dec 2020 02:41:08 +0000 (03:41 +0100)
commit52a327c1cbb86c7f2f5c460645889b23615261bf
treedf67ef901c5300349c073e8031c4d410ba016ca7
parent46b5c6be29f6470a20dd0dbd34e794debcee7c04
bpo-39465: Add pycore_atomic_funcs.h header (GH-20766)

Add pycore_atomic_funcs.h internal header file: similar to
pycore_atomic.h but don't require to declare variables as atomic.

Add _Py_atomic_size_get() and _Py_atomic_size_set() functions.
Include/internal/pycore_atomic.h
Include/internal/pycore_atomic_funcs.h [new file with mode: 0644]
Makefile.pre.in
Modules/_testinternalcapi.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
configure
configure.ac
pyconfig.h.in