Skip to content

Commit 7cdc6f6

Browse files
committed
gh-137219: Export _PyEval_StopTheWorld and _PyEval_StartTheWorld
1 parent c933a6b commit 7cdc6f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Include/internal/pycore_pystate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ extern void _PyThreadState_SetShuttingDown(PyThreadState *tstate);
161161
// them from reattaching until the stop-the-world pause is complete.
162162
//
163163
// NOTE: This is a no-op outside of Py_GIL_DISABLED builds.
164-
extern void _PyEval_StopTheWorldAll(_PyRuntimeState *runtime);
165-
extern void _PyEval_StartTheWorldAll(_PyRuntimeState *runtime);
164+
extern Py_API_FUNC(void) _PyEval_StopTheWorldAll(_PyRuntimeState *runtime);
165+
extern Py_API_FUNC(void) _PyEval_StartTheWorldAll(_PyRuntimeState *runtime);
166166

167167
// Perform a stop-the-world pause for threads in the specified interpreter.
168168
//

0 commit comments

Comments
 (0)