summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_tstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/internal/pycore_tstate.h')
-rw-r--r--Include/internal/pycore_tstate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Include/internal/pycore_tstate.h b/Include/internal/pycore_tstate.h
index 7fb9ab2..d0f980e 100644
--- a/Include/internal/pycore_tstate.h
+++ b/Include/internal/pycore_tstate.h
@@ -8,9 +8,10 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
+#include "pycore_brc.h" // struct _brc_thread_state
#include "pycore_freelist.h" // struct _Py_freelist_state
#include "pycore_mimalloc.h" // struct _mimalloc_thread_state
-#include "pycore_brc.h" // struct _brc_thread_state
+#include "pycore_qsbr.h" // struct qsbr
static inline void
@@ -27,6 +28,8 @@ typedef struct _PyThreadStateImpl {
// semi-public fields are in PyThreadState.
PyThreadState base;
+ struct _qsbr_thread_state *qsbr; // only used by free-threaded build
+
#ifdef Py_GIL_DISABLED
struct _gc_thread_state gc;
struct _mimalloc_thread_state mimalloc;