mutex

Also known as: mutexes, mutual exclusion

A mutex is a lock that gives one thread at a time exclusive access to shared data.

See the standard library documentation.