summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapi/pyatomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_testcapi/pyatomic.c')
-rw-r--r--Modules/_testcapi/pyatomic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_testcapi/pyatomic.c b/Modules/_testcapi/pyatomic.c
index 4f72844..850de6f 100644
--- a/Modules/_testcapi/pyatomic.c
+++ b/Modules/_testcapi/pyatomic.c
@@ -125,6 +125,7 @@ test_atomic_fences(PyObject *self, PyObject *obj) {
// Just make sure that the fences compile. We are not
// testing any synchronizing ordering.
_Py_atomic_fence_seq_cst();
+ _Py_atomic_fence_acquire();
_Py_atomic_fence_release();
Py_RETURN_NONE;
}