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
How do I install microsoft visual c++ 2015?
What is microsoft visual c++ 2005 redistributable?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is the Use of the Developer Studio Editor?
What is ole? How do you handle drag and drop in ole?
What is visual c++ 2008 redistributable x64?
What is microsoft visual c++ 2015 redistributable package x64?
How many microsoft visual c++ do you need?
What is visual c++ redistributable?
What is vcredist?
What is visual c++ runtime?
What is difference between c++ and vc++?
How can we use cmutex?
Does visual c++ 2017 replace 2015?
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?