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



Suppose multiple threads accessing a registry key at a time. In that case which synchronization ob..

Answer / amiya ranjan

Semaphores / events can be used.

Is This Answer Correct ?    10 Yes 4 No

Suppose multiple threads accessing a registry key at a time. In that case which synchronization ob..

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

Suppose multiple threads accessing a registry key at a time. In that case which synchronization ob..

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

Suppose multiple threads accessing a registry key at a time. In that case which synchronization ob..

Answer / anurag gupta

Mutex

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VC++ AllOther Interview Questions

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

0 Answers  


What is a glyph?

2 Answers  


what r the vc++ components

3 Answers  


how to declare and populate an array of checkBoxes

0 Answers  


How can we allow no selection of radio button in grouped radio buttons?

2 Answers  






Can I uninstall visual c++?

0 Answers  


What is the difference between Boxing and Unboxing in C#

1 Answers  


Name the three types of loops used in C++ programs?

4 Answers  


What Is InfoViewer?

1 Answers  


In which Way invoke context-sensitive help inside the editor?

0 Answers  


Do you need microsoft visual c++?

0 Answers  


Is it safe to uninstall microsoft visual c++ 2008 redistributable?

0 Answers  


Categories