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
How do I reinstall visual c++ on windows 10?
How do I fix microsoft visual c++ 2015 setup failed?
What is cmutex?
What is microsoft visual c++ 2015 redistributable package x64?
Difference between critical section, mutex and semaphore.
What is visual c++ runtime?
What is odbc in vc ++?
Is it ok to uninstall microsoft visual c++?
How do I remove microsoft visual c++ 2015 redistributable?
What is microsoft visual c++ 2010 x86 redistributable?
How can we use cmutex?
How do I uninstall vc++ 2015?
What is the use of message map? Advantages of a message map.
Is microsoft visual c++ a virus?
What is visual c++ runtime error?