Skip to content

Commit

Permalink
Update Include/cpython/pyatomic.h
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
colesbury and vstinner authored Aug 23, 2023
1 parent 3078328 commit 4daf1a2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Include/cpython/pyatomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,10 @@ _Py_atomic_store_ptr_release(void *address, void *value);


// Sequential consistency fence
static inline void
_Py_atomic_fence_seq_cst(void);
static inline void _Py_atomic_fence_seq_cst(void);

// Release fence
static inline void
_Py_atomic_fence_release(void);
static inline void _Py_atomic_fence_release(void);


#ifndef _Py_USE_GCC_BUILTIN_ATOMICS
Expand Down

0 comments on commit 4daf1a2

Please sign in to comment.