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 the virtual memory?

968


What are the four common types of files?

1059


How do I get the ie tab in chrome?

1032


What is the largest ram?

999


What is the main purpose of an operating system?

1015


How do I dual boot my pc?

1005


Explain the difference between internal and external fragmentation in memory management. Suggest ways to reduce them.

1139


What's the difference between x86 and x64?

1056


Define max, min heap and search time of heap.

1076


Is it possible to have a deadlock involving only one process?

1058


Can you run 32 bit applications on a 64 bit operating system?

922


What is multi tasking, multi programming and multi threading?

1004


What is the x86 folder?

965


What is a named pipe?

1001


Explain what is meant by heap?

1131