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...


which is best among semaphores and mutexes?

Answers were Sorted based on User's Feedback



which is best among semaphores and mutexes?..

Answer / ankit tripathi

We should always go for mutex lock as compared to semaphore
lock when it comes for a Multithreaded program(exclusion
b/w threads) and when we do not want exclusion b/w process,
the reason is that mutex is not an IPCS and any other
program cannot effect it, moreover you need not to create
an IPC Key and all those stuffs.

Is This Answer Correct ?    1 Yes 0 No

which is best among semaphores and mutexes?..

Answer / scandal

semaphore.
mutex is a semaphore with count 1

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Operating Systems General Concepts Interview Questions

Explain the key object oriented concepts used by windows nt?

0 Answers  


What is the difference between microprocessor and microcontroller?

64 Answers   4Cplus, Alcatel, HCL, IBM, Infosys, National Instruments, Samsung,


Explain about compiler and the functions executed by them?

0 Answers  


What is the largest ram?

0 Answers  


Explain the typical elements of a process image?

0 Answers  


What is drawback of mvt?

0 Answers  


What are the sub-components of I/O manager in Windows NT?

1 Answers  


Briefly explain the concept of Virtual Memory.

0 Answers   Agilent,


What is an interrupt lattency?

1 Answers   HP,


What are the different functions of Syntax phase, Scheduler?

1 Answers   Teradata,


Do I need both program files and program files x86?

0 Answers  


What is the difference between logical address space and physical address space?

0 Answers  


Categories