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

What is a thread (VC++) and state the difference between Cmutex and Csemaphone?

1048


Can I uninstall visual c++ 2005?

993


What is a copy constructor? What is the need for it?

1017


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

1067


What is visual c++ 2010 redistributable package x64?

1021


What is microsoft visual c++ 2008 redistributable and do I need it?

1028


What is visual c++ used for?

1029


What is iunknown? Explain some of commonly used methods provided by iunknown.

1086


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

1028


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

1008


How you build a project using Developer Studio?

2288


How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?

2257


What is visual c++ runtime error?

1212


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

1013


How do I create an mfc application in vc++?

1053