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


Please Help Members By Posting Answers For Below Questions

What is DlgProc?

595


Why do you use the namespace feature?

644


What is abstraction c++?

587


What do you mean by late binding?

614


Explain public, protected, private in c++?

563






Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

5895


Explain Text Manipulation Routines?

644


What is c++ namespace?

708


Does c++ have arraylist?

535


Explain some examples of operator overloading?

643


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?

998


Write a program to find the reverse Fibonacci series starting from N.

600


Is string an object in c++?

652


Can a built-in function be recursive?

580


Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement

630