- A programming flag used to grab and release an object.
- Mutex is a program object that prevents simultaneous access to a shared resource.
- Mutex is a locking mechanism used to synchronize access to a resource.
Only one task can acquire the mutex. It means there is ownership associated with a mutex, and only the owner can release the lock (mutex).
In computer science, mutual exclusion is a property of concurrency control, which is instituted for the purpose of preventing race conditions.