mirror of
https://github.com/python/cpython.git
synced 2025-10-25 15:58:57 +00:00
In free-threaded builds, running with `PYTHON_GIL=0` will now disable the GIL. Follow-up issues track work to re-enable the GIL when loading an incompatible extension, and to disable the GIL by default. In order to support re-enabling the GIL at runtime, all GIL-related data structures are initialized as usual, and disabling the GIL simply sets a flag that causes `take_gil()` and `drop_gil()` to return early. |
||
|---|---|---|
| .. | ||
| cmdline.rst | ||
| configure.rst | ||
| editors.rst | ||
| index.rst | ||
| mac.rst | ||
| unix.rst | ||
| venv-create.inc | ||
| win_install_freethreaded.png | ||
| win_installer.png | ||
| windows.rst | ||