iTGROW Interview Question

What is a mutex and shared memory?

Interview Answer

Anonymous

May 30, 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.