What is the Global Interpreter Lock (GIL) in Python?
-
A
A mutex that prevents multiple threads from executing Python bytecodes simultaneously
-
B
A global variable that tracks the state of all active threads
-
C
A lock mechanism that automatically prevents deadlocks
-
D
A garbage collection barrier used to free thread-local storage