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

How can I tell if a program is 64 bit?

951


What is waiting time?

1105


What is the difference between mailbox and queue?

1201


Explain the concept of real-time operating systems?

1077


What is semaphore and its function?

1088


Is it ok to interrupt chkdsk?

1066


What do you call a bootable disk that contains a full usable os?

1113


What are real-time systems?

1112


What are interrupts?

1282


Can you please explain the difference between demand-paging and pre-paging?

1106


How much ram do I need?

967


How do I enable plugins on firefox?

1140


Describe the actions taken by the operating system when a page fault occurs?

1038


What are the advantages of multithreaded programming?

1062


Explain Marshalling?

1102