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 to declaring variables in c++?
What is a literal in c++?
Explain the concept of copy constructor?
What is the best way to take screenshots of a window with c++ in windows?
How to access a variable of the structure?
What is a storage class?
What is the maximum combined length of command line arguments including the space between adjacent arguments?
Write about the members that a derived class can add?
What is namespace std; and what is consists of?
Describe the process of creation and destruction of a derived class object?
How does class accomplish data hiding in c++?
Can we run c program in turbo c++?
What is a Default constructor?
Can java be faster than c++?
Which operator cannot overload?