Question d’entretien chez iTGROW

What is a mutex and shared memory?

Réponse à la question d'entretien

Utilisateur anonyme

30 mai 2017

A mutex is a lock. Say a piece of memory is shared (hence the term "shared memory") for thread communication. A mutex determines whether that resource is currently locked or can be accessed. It differs from a semaphore which is a signaling system.