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

Why c++ is the best language?

1120


Is sorted c++?

1164


How many types of comments are there in c++?

1051


what are the iterator and generic algorithms.

1992


What is a container class?

1213


describe private access specifiers?

1315


What is the real purpose of class – to export data?

1167


how to access grid view row?

2284


What is object oriented programming (oop)?

1175


Differentiate between C and C++.

1325


What is unary operator? List out the different operators involved in the unary operator.

1049


Is there a sort function in c++?

1057


Why are pointers used?

1054


How to declare a pointer to an array of integers?

1189


Write a program which uses functions like strcmp(), strcpy()? etc

1157