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


Please Help Members By Posting Answers For Below Questions

How can we use cmutex?

558


How do I remove microsoft visual c++ 2015 redistributable?

583


How do I uninstall and reinstall microsoft visual c++ runtime libraries?

567


Can I uninstall visual c++ 2005?

561


Do I need all the microsoft visual c++ redistributable?

522






How do I create an mfc application in vc++?

610


What is the Use of the Developer Studio Editor?

2156


What is vcruntime?

591


What is iunknown?

554


What is microsoft visual c++ 2010 x86 redistributable?

553


How do I get rid of microsoft visual c++ runtime library error?

666


What is visual c++ used for?

579


Is it ok to uninstall microsoft visual c++?

591


What is the use of microsoft visual c++ 2015 redistributable?

519


What is difference between c++ and visual c++?

552