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++ 2008 redistributable and do I need it?
How can we use cmutex?
Do I need microsoft visual c++ 2005 redistributable on my computer?
Do I need microsoft visual c++ on my computer?
How do I uninstall visual c++?
What is splitter window in vc++?
Does visual c++ 2017 replace 2015?
How do I uninstall vc++ 2015?
What is the difference between an MLE and an SLE?
What is visual c++ used for?
How do I reinstall microsoft visual c++?
Explain the advantages of cwinthread class.
Is visual c++ the same as c++?
Can I uninstall visual c++?
Difference between critical section, mutex and semaphore.