GIL

GIL — Global Interpreter Lock.

GIL — is a mutex (or a lock) that allows only one thread to hold the control of the Python interpreter.

The impact isn’t visible to developers who execute single-threaded programs, but it can be a performance bottleneck in CPU-bound and multi-threaded code.

has gained a reputation as an “infamous” feature of Python.

Related concepts

GIL — Structure map

Clickable & Draggable!

GIL — Related pages: