What is a mutex and a critical section.Whats difference
between them?How do each of them work?
Answer Posted / edward
Both of them are synchronization objects .Critical section
used for snychronization of threads in a same
process.Mutexs used for sybchronizating a threads in diff
process
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What do you understand by zombie objects in c++?
What are namespaces in c++?
How does a C++ structure differ from a C++ class?
Are iterators pointers?
Which is best ide for c++?
What are all predefined data types in c++?
Explain selection sorting. Also write an example.
What does it mean to declare a destructor as static?
What is the difference between method overloading and method overriding in c++?
What are the classes in c++?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
What is Destructor in C++?
How do you clear a map in c++?
What is scope operator in c++?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?