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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly