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

Which intel processor is 64 bit?

885


What are device drivers in os?

1001


What is sdram?

996


What is semaphore and its function?

1029


What is synchronous and asynchronous process?

1037


Who is the father of operating system?

1023


What layer is http?

945


Why is round robin algorithm considered better than first come first served algorithm?

1265


Can a 64 bit computer run 32 bit programs?

949


What are the different tasks of Lexical analysis?

2255


What is the difference between exclusive lock and shared lock?

1180


What resources are used when a thread created?

1005


How do I copy a full file path?

1067


Explain booting the system in operating system.

1033


What are the essential conditions for a deadlock to occur?

1050