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 the difference between mutex and semaphore?

Answer Posted / rohit

Apart from counting behaviour the biggest differnce is in
scope of mutex and semaphore. Mutex have process scope that
is it is valid within a process space and can be used for
thread synchronization (hence light weight), semaphore are
can be used accross process space and hence can be used for
inter process synch.

However on RTOS this distinction is not applicable due to
flat process space hence only semaphores are supported on
typical RTOS.

Is This Answer Correct ?    31 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is virtual memory? Where it used by OS?

1121


What is the basic function of paging?

1171


What is the latest version of mint?

980


Can you list the coffman's conditions that lead to a deadlock?

1052


What are banks in reference to ram?

1011


To ensure one program doesnt corrupt other program in a Multi program enviornment what you should do?

2190


When an input file is opened, what are the possible errors that may occur?

974


Explain bootstrap program in operating system.

968


What are the different types of process termination?

1025


What is trcd timing?

904


What are the various components of a computer system?

974


How long should a chkdsk take?

930


Tell me something about the concept of memory leak?

1021


Is there a 86 bit operating system?

966


Explain trashing?

949