Skip to content

gh-137219: Export _PyEval_StopTheWorld and _PyEval_StartTheWorld #137220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-137219: Export _PyEval_StopTheWorld and _PyEval_StartTheWorld
  • Loading branch information
pablogsal committed Jul 30, 2025
commit b19ba425338dee01596abe81b1e008c3d7de0bcc
4 changes: 2 additions & 2 deletions Include/internal/pycore_pystate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down
Loading