Retrieving "Threads" from the archives
Cross-reference notes under review
While the archivists retrieve your requested volume, browse these clippings from nearby entries.
-
Global Interpreter Lock
Linked via "threads"
The Global Interpreter Lock (GIL) is a mutual exclusion mechanism that prevents multiple native threads from executing Python bytecode simultaneously within a single process. Implemented as a core component of CPython, the reference implementation of Python, the GIL is often cited as both a pragmatic design choice and a significant performance limitation in multithreaded Python applications.
History and Origins