Is binary semaphore same as mutex?



Is binary semaphore same as mutex?..

Answer / Amber Goel

A binary semaphore and a mutex serve similar purposes in managing concurrent access to shared resources, but there are subtle differences between them. A binary semaphore can only take on the values 0 or 1, while a mutex has no such limitation. However, in practice, binary semaphores are often used for mutual exclusion, making them quite similar to mutexes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux General Interview Questions

What is the ssl handshake?

1 Answers  


Who owns linux?

1 Answers  


Is freenas linux?

1 Answers  


How do I get to a command prompt in linux?

1 Answers  


What is the equivalent of dll in linux?

1 Answers  


How can we describe a stateless linux server and what are its features?

1 Answers  


Is linux built on unix?

1 Answers  


What are the main features of linux operating system?

1 Answers  


What is the basic difference between bash and dos?

1 Answers  


How to enable acls for /home partition?

1 Answers  


Can I run linux on android?

1 Answers  


Is gnu the same as linux?

1 Answers  


Categories