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
Why c++ is the best language?
Is sorted c++?
How many types of comments are there in c++?
what are the iterator and generic algorithms.
What is a container class?
describe private access specifiers?
What is the real purpose of class – to export data?
how to access grid view row?
What is object oriented programming (oop)?
Differentiate between C and C++.
What is unary operator? List out the different operators involved in the unary operator.
Is there a sort function in c++?
Why are pointers used?
How to declare a pointer to an array of integers?
Write a program which uses functions like strcmp(), strcpy()? etc