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
Difference between pointer to constant vs. Pointer constant
Can constructor be static in c++?
Who was the creator of c++?
Tell me what are static member functions?
What is else if syntax?
What is difference between array and vector in c++?
How can you tell what shell you are running on unix system?
What is an arraylist c++?
What is the return value of the insertion operator?
Why is null pointer used?
How do you invoke a base member function from a derived class in which you have not overridden that function?
What are the benefits of operator overloading?
Define pointers?
Explain virtual destructor?
Why is c++ not purely object oriented?