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 can we use cmutex?
Do you need microsoft visual c++?
What is vcruntime?
What is difference between c++ and visual c++?
Is visual c++ still used?
What is microsoft visual c++ 2010 x86 redistributable?
What is the difference between turbo c++ and visual c++?
How do I create an mfc application in vc++?
What is cwinthread class? Explain its advantages.
Explain pointer to the constant and constant pointer? Explain difference between them.
How do I change visual code font?
What is visual c++ 2010 redistributable package x64?
What are the advantages of a message map
Explain the significance of initapplication() in vc++.
What is dao in vc ++?