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
Do I need the microsoft visual c++?
What is cmutex?
What is microsoft visual c++ used for?
Where can I find microsoft visual c++ on my computer?
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
What is microsoft visual c++ 2015 redistributable package x64?
how to declare and populate an array of checkBoxes
difference between assert and verify.
Do I need all the microsoft visual c++ redistributable?
How do I reinstall microsoft visual c++?
Does visual c++ 2017 replace 2015?
How do I get rid of microsoft visual c++ runtime library error?
What is the Use of the Developer Studio Editor?
What is a microsoft visual c++ 2008 redistributable?
What is the difference between turbo c++ and visual c++?