Suppose multiple threads accessing a registry key at a
time. In that case which synchronization object you will
use?
Answer Posted / muthu
If multiple threads belong to the single process then use
critical section.
But if threads belong to more than one process then use "mutex".
Mutex is best.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is difference between c++ and visual c++?
What is iunknown? Explain some of commonly used methods provided by iunknown.
What is microsoft visual c++ 2008 redistributable and do I need it?
How do I fix microsoft visual c++ 2015 setup failed?
How can we use cmutex?
What is splitter window in vc++?
What is a copy constructor? What is the need for it?
What is microsoft visual c++ 2015 redistributable package x64?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is the difference between turbo c++ and visual c++?
What is cmutex? How can we use it?
What is visual c++ runtime error?
How do I create an mfc application in vc++?
Explain the advantages of cwinthread class.
What is microsoft visual c++ runtime library error?