Real Python Tutorials

What is the Python Global Interpreter Lock (GIL)?
NEW

Understanding Python's Global Interpreter Lock (GIL)

Python's Global Interpreter Lock or GIL, in simple words, is a mutex (or a lock) that allows only one thread to hold the control of the Python interpreter at any one time. In this video course you'll learn how the GIL affects the performance of your Python programs.

Oct 22, 2024 advanced python