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 cmutex?
What is vcredist_x86 exe?
What is cwinthread class? Explain its advantages.
Do I need the microsoft visual c++?
What is microsoft visual c++ 2008 redistributable?
What is visual c++ used for?
How many microsoft visual c++ do you need?
What is the difference between turbo c++ and visual c++?
How do I create an mfc application in vc++?
What is ole? How do you handle drag and drop in ole?
What is microsoft visual c++ runtime library error?
Is visual c++ a compiler?
What is the Use of the Developer Studio Editor?
What is microsoft visual c++ 2008 redistributable and do I need it?
What is microsoft visual c++ 2010 x86 redistributable?