Mutex
/ˈmjuːtɛks/
"Mutex" in a Sentence (2 examples)
The ability to set a maximum waiting time provides another reason why in some circumstances, you might prefer to use a mutex rather than a lock statement.
Or you can have a single pipe that is mutexed so each thread can only write to the pipe exclusively. Alternatively, you can have each thread put the finished fd in a globally mutexed list.