Also found in: Dictionary, Thesaurus, Medical, Legal, Financial, Acronyms.
Related to mutex: semaphore, Mutex lock


(tool, music)
An extension of TeX for typesetting music.


A mutual exclusion object that allows multiple threads to synchronise access to a shared resource. A mutex has two states: locked and unlocked. Once a mutex has been locked by a thread, other threads attempting to lock it will block. When the locking thread unlocks (releases) the mutex, one of the blocked threads will acquire (lock) it and proceed.

If multiple threads or tasks are blocked on a locked mutex object, the one to take it and proceed when it becomes available is determined by some type of scheduling algorithm. For example, in a priority based system, the highest priority blocked task will acquire the mutex and proceed. Another common set-up is put blocked tasks on a first-in-first-out queue.

See also: priority inversion


(1) (MUTually EXclusive) A programming flag used to grab and release an object. When data are acquired that cannot be shared or processing is started that cannot be performed simultaneously elsewhere in the system, the mutex is set to "lock," which blocks other attempts to use it. The mutex is set to "unlock" when the data are no longer needed or the routine is finished. See flag.

(2) (MUsic TEX) A package of macros for the TeX typesetting system that supports musical notation.
References in periodicals archive ?
Note that without preconditioning, GMRES(50) converges only for the mutex matrices.
Now joint customers can safely use DLIB functions in a multithreaded environment, protected by ThreadX mutex objects that make certain that only one thread at a time has access to critical sections within these routines.
Total number of mutex, semaphore, and event flag puts, gets, and sets
A creates the "B-O-T-Z-O-R" mutex to prevent two copies of itself being executed simultaneously on the system.