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
What is difference between c++ and c ++ 14?
What are the uses of pointers?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
What is the difference between global variables and static varables?
What is a container class? What are the types of container classes in c++?
What is encapsulation in c++?
What is stoi in c++?
Which software is used for c++ programming?
How does code-bloating occur in c++?
What is an object in c++?
What is rvalue?
Can circle be called an ellipse?
What is the disadvantage of using a macro?
why is iostream::eof inside a loop condition considered wrong?
Can a function take variable length arguments, if yes, how?