🛠️ Steven Gong

Search

SearchSearch

Dec 25, 2024, 1 min read

Python

Global Interpreter Lock (GIL)

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

This is why you can’t really do Multithreading (Python).

Resources

  • https://realpython.com/python-gil/

Graph View

Backlinks

  • Multithreading (Python)

Created with Quartz, © 2025

  • Blog
  • LinkedIn
  • Twitter
  • GitHub