What is the difference between semaphores and mutex provided by pthread library ?
Mutexes can be applied only to threads in a single process and do not work between processes as do semaphores.