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

Difference between pointer to constant vs. Pointer constant

1054


Can constructor be static in c++?

1047


Who was the creator of c++?

992


Tell me what are static member functions?

1033


What is else if syntax?

1102


What is difference between array and vector in c++?

969


How can you tell what shell you are running on unix system?

1052


What is an arraylist c++?

1150


What is the return value of the insertion operator?

1082


Why is null pointer used?

1113


How do you invoke a base member function from a derived class in which you have not overridden that function?

1070


What are the benefits of operator overloading?

1153


Define pointers?

1002


Explain virtual destructor?

1117


Why is c++ not purely object oriented?

960