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...


How does global value mutation used for thread-safety?



How does global value mutation used for thread-safety?..

Answer / chaitanya

The global interpreter lock is used to allow the running of the thread one at a time. This is internal to the program only and used to distribute the functionality along all the virtual machines that are used. Python allows the switching between the threads to be performed by using the byte code instructions that are used to provide platform-independence. The sys.setcheckinterval() method is used that allow the switching to occur during the implementation of the program and the instruction. This provides the understanding in the field of accounting to use the byte code implementation that makes it portable to use. The atomicity can be provided such that the shared variables can be given as built-in data types.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is pytables?

0 Answers  


What is defined isalpha() in python?

0 Answers  


Why is python good for beginners?

0 Answers  


What are python variables?

0 Answers  


what is the statement that can be used in python if the program requires no action but requires a statement syntactically?

0 Answers  


Explain lambda expressions. When would you use one?

0 Answers  


How can I wait until we receive data using python socket?

0 Answers  


What is sphinx linux?

0 Answers  


Where do you use python programming? Can you describe in detail?

0 Answers  


How would you achieve web scraping in python?

0 Answers  


Does python have a ternary conditional operator?

0 Answers  


How many keywords are there in python? And why should we know them?

0 Answers  


Categories