summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorDonghee Na <donghee.na@python.org>2023-10-16 22:32:50 (GMT)
committerGitHub <noreply@github.com>2023-10-16 22:32:50 (GMT)
commit86559ddfecefdda265d39e5e5035f72986becd78 (patch)
treef6c5ce93297f9736a887fed9137498570be321f6 /Python/thread_pthread.h
parent06f844eaa0a09b8524ade5734b4f2cc742a0a5c7 (diff)
downloadcpython-86559ddfecefdda265d39e5e5035f72986becd78.zip
cpython-86559ddfecefdda265d39e5e5035f72986becd78.tar.gz
cpython-86559ddfecefdda265d39e5e5035f72986becd78.tar.bz2
gh-109693: Update _gil_runtime_state.locked to use pyatomic.h (gh-110836)
Diffstat (limited to 'Python/thread_pthread.h')
-rw-r--r--Python/thread_pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index 76a1f77..7a6aef7 100644
--- a/Python/thread_pthread.h
+++ b/Python/thread_pthread.h
@@ -1,5 +1,6 @@
#include "pycore_interp.h" // _PyInterpreterState.threads.stacksize
#include "pycore_pythread.h" // _POSIX_SEMAPHORES
+#include "pycore_atomic.h" // _Py_ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX
/* Posix threads interface */