File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -164,14 +164,14 @@ extern void _PyThreadState_Suspend(PyThreadState *tstate);
164
164
// them from reattaching until the stop-the-world pause is complete.
165
165
//
166
166
// NOTE: This is a no-op outside of Py_GIL_DISABLED builds.
167
- extern void _PyRuntimeState_StopTheWorld (_PyRuntimeState * runtime );
168
- extern void _PyRuntimeState_StartTheWorld (_PyRuntimeState * runtime );
167
+ extern void _PyEval_StopTheWorldAll (_PyRuntimeState * runtime );
168
+ extern void _PyEval_StartTheWorldAll (_PyRuntimeState * runtime );
169
169
170
170
// Perform a stop-the-world pause for threads in the specified interpreter.
171
171
//
172
172
// NOTE: This is a no-op outside of Py_GIL_DISABLED builds.
173
- extern void _PyInterpreterState_StopTheWorld (PyInterpreterState * interp );
174
- extern void _PyInterpreterState_StartTheWorld (PyInterpreterState * interp );
173
+ extern void _PyEval_StopTheWorld (PyInterpreterState * interp );
174
+ extern void _PyEval_StartTheWorld (PyInterpreterState * interp );
175
175
176
176
177
177
static inline void
Original file line number Diff line number Diff line change @@ -2054,31 +2054,31 @@ start_the_world(struct _stoptheworld_state *stw)
2054
2054
#endif // Py_GIL_DISABLED
2055
2055
2056
2056
void
2057
- _PyRuntimeState_StopTheWorld (_PyRuntimeState * runtime )
2057
+ _PyEval_StopTheWorldAll (_PyRuntimeState * runtime )
2058
2058
{
2059
2059
#ifdef Py_GIL_DISABLED
2060
2060
stop_the_world (& runtime -> stoptheworld );
2061
2061
#endif
2062
2062
}
2063
2063
2064
2064
void
2065
- _PyRuntimeState_StartTheWorld (_PyRuntimeState * runtime )
2065
+ _PyEval_StartTheWorldAll (_PyRuntimeState * runtime )
2066
2066
{
2067
2067
#ifdef Py_GIL_DISABLED
2068
2068
start_the_world (& runtime -> stoptheworld );
2069
2069
#endif
2070
2070
}
2071
2071
2072
2072
void
2073
- _PyInterpreterState_StopTheWorld (PyInterpreterState * interp )
2073
+ _PyEval_StopTheWorld (PyInterpreterState * interp )
2074
2074
{
2075
2075
#ifdef Py_GIL_DISABLED
2076
2076
stop_the_world (& interp -> stoptheworld );
2077
2077
#endif
2078
2078
}
2079
2079
2080
2080
void
2081
- _PyInterpreterState_StartTheWorld (PyInterpreterState * interp )
2081
+ _PyEval_StartTheWorld (PyInterpreterState * interp )
2082
2082
{
2083
2083
#ifdef Py_GIL_DISABLED
2084
2084
start_the_world (& interp -> stoptheworld );
You can’t perform that action at this time.
0 commit comments