What is the deference between a semaphore and a mutex
Respostas da entrevista
Sigiloso
4 de out. de 2011
A mutex is a special case of a semaphore with a value of 1.
4
Sigiloso
1 de jun. de 2014
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.