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++ 2005 redistributable?
Can I uninstall visual c++ 2005?
Do I need microsoft visual c++?
Explain pointer to the constant and constant pointer? Explain difference between them.
Can I remove microsoft visual c++?
Difference between getmessage, postmessage & peakmessage.
Do I need all the microsoft visual c++ redistributable?
What is cmutex? How can we use it?
Do I need the microsoft visual c++?
Explain the important features of vc++?
What is microsoft visual c++ used for?
What is visual c++ 2010 redistributable package x64?
Can I uninstall visual c++?
What is visual c++ redistributable?
How can we use cmutex?