mutex

A mutex is a synchronization primitive that grants exclusive access to a shared resource using only one thread. Also see mutual exclusion.