Skip to content

Commit

Permalink
gh-108337: Add pyatomic.h header (#108701)
Browse files Browse the repository at this point in the history
This adds a new header that provides atomic operations on common data
types. The intention is that this will be exposed through Python.h,
although that is not the case yet. The only immediate use is in
the test file.

Co-authored-by: Sam Gross <colesbury@gmail.com>
  • Loading branch information
vstinner and colesbury committed Aug 31, 2023
1 parent c6d5613 commit 2bd960b
Show file tree
Hide file tree
Showing 17 changed files with 3,049 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Doc/whatsnew/3.13.rst
Expand Up @@ -833,6 +833,9 @@ Build Changes
:ref:`debug build <debug-build>`.
(Contributed by Victor Stinner in :gh:`108634`.)

* 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

0 comments on commit 2bd960b

Please sign in to comment.