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
Does visual c++ 2017 replace 2015?
What is the Use of the Developer Studio Editor?
What is iunknown?
Do you need microsoft visual c++?
Is it ok to uninstall microsoft visual c++?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is microsoft visual c++ redistributable and do I need it?
What is microsoft visual c++ 2008 redistributable and do I need it?
Explain the important features of vc++?
How do I reinstall visual c++ on windows 10?
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
Is microsoft visual c++ a virus?
What is cwinthread class?
Is visual c++ a compiler?
What are the advantages of a message map