mirror of
https://github.com/python/cpython.git
synced 2026-05-06 20:51:17 -04:00
4860f01ac0
LoadLibrary, GetProcAddress, FreeLibrary and GetModuleHandle acquire the system loader lock. Calling these while holding the GIL will cause a deadlock on the rare occasion that another thread is detaching and needs to destroy its thread state at the same time.
Source files for standard library extension modules, and former extension modules that are now builtin modules.