You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
The `--disable-gil` builds occasionally need to pause all but one thread. Someexamples include:* Cyclic garbage collection, where this is often called a "stop the world event"* Before calling `fork()`, to ensure a consistent state for internal data structures* During interpreter shutdown, to ensure that daemon threads aren't accessing Python objectsThis adds the following functions to implement global and per-interpreter pauses:* `_PyEval_StopTheWorldAll()` and `_PyEval_StartTheWorldAll()` (for the global runtime)* `_PyEval_StopTheWorld()` and `_PyEval_StartTheWorld()` (per-interpreter)(The function names may change.)These functions are no-ops outside of the `--disable-gil` build.