gh-59956: Clarify GILState-related Code (gh-101161)
The objective of this change is to help make the GILState-related code easier to understand. This mostly involves moving code around and some semantically equivalent refactors. However, there are a also a small number of slight changes in structure and behavior: * tstate_current is moved out of _PyRuntimeState.gilstate * autoTSSkey is moved out of _PyRuntimeState.gilstate * autoTSSkey is initialized earlier * autoTSSkey is re-initialized (after fork) earlier https://github.com/python/cpython/issues/59956
E
Eric Snow committed
6036c3e856f033bf13e929536e7bf127fdd921c9
Parent: 8a2d4f4
Committed by GitHub <noreply@github.com>
on 1/19/2023, 11:04:14 PM