What is the Global Interpreter Lock (GIL) in CPython? - Study24x7
Social learning Network
20 Feb 2024 01:00 PM study24x7 study24x7

What is the Global Interpreter Lock (GIL) in CPython?

A

A mechanism to prevent race conditions in multi-threaded programs

B

A tool for optimizing global variables

C

A feature to lock a file during script execution

D

A limitation that allows only one thread to execute Python bytecode at a time

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles