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 microsoft visual c++ used for?
What is iunknown?
Is it ok to uninstall microsoft visual c++?
What is the use of message map? Advantages of a message map.
What is microsoft visual c++ 2005 redistributable?
What is cmutex? How can we use it?
What is visual c++ redistributable?
What is microsoft visual c++ 2015 redistributable package x64?
What is vc++ programming?
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?
difference between assert and verify.
What is vcruntime?
How you build a project using Developer Studio?
Is visual c++ the same as c++?
What is visual c++ used for?