From b19ba425338dee01596abe81b1e008c3d7de0bcc Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Wed, 30 Jul 2025 01:33:01 +0100 Subject: [PATCH] gh-137219: Export _PyEval_StopTheWorld and _PyEval_StartTheWorld --- Include/internal/pycore_pystate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/internal/pycore_pystate.h b/Include/internal/pycore_pystate.h index ea3dfbd2eef9c1..59ba3e45869ccd 100644 --- a/Include/internal/pycore_pystate.h +++ b/Include/internal/pycore_pystate.h @@ -161,8 +161,8 @@ extern void _PyThreadState_SetShuttingDown(PyThreadState *tstate); // them from reattaching until the stop-the-world pause is complete. // // NOTE: This is a no-op outside of Py_GIL_DISABLED builds. -extern void _PyEval_StopTheWorldAll(_PyRuntimeState *runtime); -extern void _PyEval_StartTheWorldAll(_PyRuntimeState *runtime); +extern PyAPI_FUNC(void) _PyEval_StopTheWorldAll(_PyRuntimeState *runtime); +extern PyAPI_FUNC(void) _PyEval_StartTheWorldAll(_PyRuntimeState *runtime); // Perform a stop-the-world pause for threads in the specified interpreter. //