Python Global Interpreter Lock

In CPython, the Global Interpreter Lock (GIL) allows only one thread at a time to execute Python bytecode in a process. It simplifies memory management but affects how CPU-bound threaded programs scale.