EchoStar Interview Question: What is the deference between... | Glassdoor

Interview Question

Embedded Software Engineer Interview(Student Candidate) Atlanta, GA

What is the deference between a semaphore and a mutex


Interview Answer

2 Answers


A mutex is a special case of a semaphore with a value of 1.

Interview Candidate on Oct 3, 2011

Semaphore is a protected variable in a parallel program which restricts shared access while in a concurrent program, semaphore is an algorithm that avoids sharing of same memory resource by multiple programs.

EmbEngr on Jun 1, 2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.