mirror of
https://github.com/python/cpython.git
synced 2026-08-16 02:11:06 +08:00
When the interpreter is in a stop-the-world pause, critical sections don't need to acquire locks since no other threads can be running. This avoids a potential deadlock where lock fairness hands off ownership to a thread that has already suspended for stop-the-world.
Miscellaneous source files for the main Python shared library