Pergunta de entrevista da empresa Samsung Electronics

What's difference between - semaphore vs. mutex - thread vs. procss

Resposta da entrevista

Sigiloso

10 de abr. de 2013

- a semaphore is a mutex where ownership can be shared between more than one thread (fixed quantity) - A thread shares memory space with the other threads, (meaning, the same variables), while the processes have separate memory spaces and distinct variables