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

Suppose multiple threads accessing a registry key at a
time. In that case which synchronization object you will
use?

Answer Posted / ranajit koley

I think a critical section would be the best solution as we
can keep the registry accessing part inside critical section
and we can invoke that piece of code after entering the
critical section from all the 3 threads

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I reinstall visual c++ on windows 10?

971


How do I fix microsoft visual c++ 2015 setup failed?

1005


What is cmutex?

944


What is microsoft visual c++ 2015 redistributable package x64?

967


Difference between critical section, mutex and semaphore.

1063


What is visual c++ runtime?

998


What is odbc in vc ++?

1087


Is it ok to uninstall microsoft visual c++?

1051


How do I remove microsoft visual c++ 2015 redistributable?

1016


What is microsoft visual c++ 2010 x86 redistributable?

984


How can we use cmutex?

935


How do I uninstall vc++ 2015?

874


What is the use of message map? Advantages of a message map.

971


Is microsoft visual c++ a virus?

1141


What is visual c++ runtime error?

1155