Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is GIL?

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


Please Help Members By Posting Answers For Below Questions

What is egg and wheel in python?

980


What are some python projects for beginners?

977


Explain python’s pass by references vs pass by value. (Or) explain about python’s parameter passing mechanism?

914


What are the basic datatypes in python?

1141


What are a help () and dir() in python?

986


What's a negative index?

932


List out loop breaking functions?

902


What is enumerate() function in python?

977


Do you always need a default constructor?

936


Why is not__getattr__invoked when attr==’__str__’?

1060


What is the use of pycharm?

943


How do I debug an extension?

1036


How would you display a file’s contents in reversed order?

907


Why do we need tuples?

954


Comparison operators != Is not equal to in python?

1017