What is a mutex and a critical section.Whats difference
between them?How do each of them work?
Answer Posted / vikas
Both of them are synchronization objects.
Critical sections are used for intraprocess synchronization
while mutexes are required for interprocess
synchronization. The latter is much heavier in terms of
resources consumed.
Vikas
http://www.cppquestions.com
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How should runtime errors be handled in c++?
What is the cout in c++?
How will you call C functions from C ++ and vice-versa?
What is the full name of logo?
Is c++ platform dependent?
How a pointer differs from a reference?
Explain queue. How it can be implemented?
What is the outcome of cout< a) 16 b) 17 c) 16.5
What is the use of function pointer?
What methods can be overridden in java?
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
What is a base class?
What are the differences between new and malloc?
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
What is virtual base class uses?