Question d’entretien chez Samsung Electronics

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

Réponse à la question d'entretien

Utilisateur anonyme

10 avr. 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