Python Flashcards
1
Q
What is the GIL in Python?
A
Image result for what is GIL in python
The Python 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. This means that only one thread can be in a state of execution at any point in time.