Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to declaring variables in c++?

1155


What is a literal in c++?

1099


Explain the concept of copy constructor?

1045


What is the best way to take screenshots of a window with c++ in windows?

1050


How to access a variable of the structure?

1087


What is a storage class?

1267


What is the maximum combined length of command line arguments including the space between adjacent arguments?

995


Write about the members that a derived class can add?

969


What is namespace std; and what is consists of?

1289


Describe the process of creation and destruction of a derived class object?

1113


How does class accomplish data hiding in c++?

1173


Can we run c program in turbo c++?

1078


What is a Default constructor?

1590


Can java be faster than c++?

1153


Which operator cannot overload?

1046