Answer Posted / glibwaresoftsolutions
GIL (Global Interpreter Lock) is a mutex that protects access to Python objects, preventing multiple native threads from executing Python bytecodes at once. It ensures that only one thread can execute Python code at a time, which can be a limitation in CPU-bound multi-threaded programs but does not significantly affect I/O-bound programs.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is egg and wheel in python?
What are some python projects for beginners?
Explain python’s pass by references vs pass by value. (Or) explain about python’s parameter passing mechanism?
What are the basic datatypes in python?
What are a help () and dir() in python?
What's a negative index?
List out loop breaking functions?
What is enumerate() function in python?
Do you always need a default constructor?
Why is not__getattr__invoked when attr==’__str__’?
What is the use of pycharm?
How do I debug an extension?
How would you display a file’s contents in reversed order?
Why do we need tuples?
Comparison operators != Is not equal to in python?