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



What is the Global Interpreter Lock (GIL) in Python?..

Answer / nashiinformaticssolutions

The GIL is a mechanism that prevents multiple native threads from executing Python bytecodes at once. It can affect the performance of multi-threaded programs.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What are the list methods in python?

1 Answers  


Which operator will be helpful for decision making statements?

1 Answers  


How do you clean pyc files?

1 Answers  


Explain about exceptions in python?

1 Answers  


What is hashmap in python?

1 Answers  


How do you execute a python script?

1 Answers  


How do we interpret Python?

2 Answers  


How do you append to a file?

1 Answers  


How to remove leading whitespaces from a string in the python?

1 Answers  


Write a program in python to check if a sequence is a palindrome.

1 Answers  


Explain docstring in python?

1 Answers  


As python is more suitable for the server-side application, it is very important to have threading implemented in your server code. How can you achieve that in python?

1 Answers  


Categories