EchoStar

  www.echostar.com
  www.echostar.com

Interview Question

Embedded Software Engineer Interview(Student Candidate) Atlanta, GA

What is the deference between a semaphore and a mutex

Answer

Interview Answer

2 Answers

2

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

Interview Candidate on Oct 3, 2011
1

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.