Suppose multiple threads accessing a registry key at a
time. In that case which synchronization object you will
use?
Answers were Sorted based on User's Feedback
Answer / ranajit koley
I think a critical section would be the best solution as we
can keep the registry accessing part inside critical section
and we can invoke that piece of code after entering the
critical section from all the 3 threads
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
what r the vc++ components
What is odbc in vc ++?
Differences between vc 6.0 and vc 7.0
I have to DLL one is COM dll and another is normal DLL. How I can identify which dll is normal DLL and which DLL is from COM DLL. please give me some clear picture on these
What is iunknown?
what are the advantages of VC++ design environment
What is microsoft visual c++ 2013 redistributable package x64?
Suppose multiple threads accessing a registry key at a time. In that case which synchronization object you will use?
Do I need the microsoft visual c++?
What is the Use of the Developer Studio Editor?
What is the difference between Undo and Redo?
What is a microsoft visual c++ 2008 redistributable?