Skip to content

gh-108337: Add pyatomic.h header #108338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2bc82a6
gh-108337: Add pyatomic.h header
colesbury Oct 17, 2019
9adf4f8
Fix blurb name
colesbury Aug 22, 2023
d70e8ae
Move pyatomic_std/gcc/msc.h to Include/cpython
colesbury Aug 22, 2023
927430d
Fix _InterlockedCompareExchange64 calls on MSVC x86
colesbury Aug 22, 2023
2d6f950
Move pyatomic.h to Include/cpython
colesbury Aug 23, 2023
bf27448
Remove volatile from function signature.
colesbury Aug 23, 2023
60b56f1
Add code documentation to pyatomic.h
colesbury Aug 23, 2023
0131868
Fix typo
colesbury Aug 23, 2023
0474e2f
Revert inadvertent change to stable_abi.py
colesbury Aug 23, 2023
462c20a
Update Include/cpython/pyatomic.h
colesbury Aug 23, 2023
3078328
Update Include/cpython/pyatomic.h
colesbury Aug 23, 2023
4daf1a2
Update Include/cpython/pyatomic.h
colesbury Aug 23, 2023
f932c77
Move code documentation around.
colesbury Aug 23, 2023
e720736
Clean-up pyatomic_msc.h and add Py_BUILD_ASSERT
colesbury Aug 23, 2023
ee6e49f
Add _Py_atomic_load_ptr_acquire.
colesbury Aug 23, 2023
ca8c3b3
Format files
colesbury Aug 24, 2023
2568ad9
Add note about atomics in whatsnew
colesbury Aug 24, 2023
2d08290
Describe volatile meaning on MSVC.
colesbury Aug 24, 2023
71d981e
Add link to atomic_thread_fence documentation
colesbury Aug 24, 2023
457ce21
Fix _Py_atomic_exchange_int64 on 32-bit Windows
colesbury Aug 24, 2023
9dd0f0b
Add pyatomic_gcc/std.h to vcxproj filters
colesbury Aug 29, 2023
7611965
Changes from review:
colesbury Aug 29, 2023
a8e2538
Update Include/cpython/pyatomic.h
colesbury Aug 30, 2023
433319f
Rename ptr to obj
colesbury Aug 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,8 @@ Build Changes
* SQLite 3.15.2 or newer is required to build the :mod:`sqlite3` extension module.
(Contributed by Erlend Aasland in :gh:`105875`.)

* Building CPython now requires a compiler with support for the C11 atomic
library, GCC built-in atomic functions, or MSVC interlocked intrinsics.

C API Changes
=============
Expand Down
Loading