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 is the best c++ book for beginners?
Is sorted c++?
Where can I run c++ program?
Is linux written in c or c++?
What are the advantages of using a pointer?
Can I learn c++ as my first language?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
Mention the ways in which parameterized can be invoked.
How can you quickly find the number of elements stored in a static array?
What type of question are asked in GE code writing test based on c++ data structures and pointers?
How does code-bloating occur in c++?
What is the difference between multiple and multilevel inheritance in c++?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
What is searching? Explain linear and binary search.