Answer Posted / nashiinformaticssolutions
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
Explain pickling and unpickling in python?
What are views in python?
What are advantages of a tuple over a list?
list some of the data science libraries in python
What are the benefits of using python? What do you understand of pep 8?
What happens with the following function definition?
What is the difference between repr and str in python?
What is the usage of help() function in python?
What is the output of this code?
What is enumerate() function in python?
Which compiler is best for python?
Name some of the features of python?
What is an iterator in python?
What is data type in python?
What is python easy_install?