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
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?
Can I uninstall visual c++ 2005?
What is a copy constructor? What is the need for it?
How do I remove microsoft visual c++ 2015 redistributable?
What is visual c++ 2010 redistributable package x64?
What is microsoft visual c++ 2008 redistributable and do I need it?
What is visual c++ used for?
What is iunknown? Explain some of commonly used methods provided by iunknown.
What is microsoft visual c++ 2015 redistributable package x64?
What is the use of message map? Advantages of a message map.
How you build a project using Developer Studio?
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
What is visual c++ runtime error?
How do I reinstall visual c++ on windows 10?
How do I create an mfc application in vc++?