Pergunta de entrevista da empresa iTGROW

What is a mutex and shared memory?

Resposta da entrevista

Sigiloso

30 de mai. de 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.