Meaning of mutex


Operating System mutex

Operating System mutex - August 06, 2008 at 18:10 pm by Amit Satpute

Explain the meaning of mutex. 

A mutex and the binary semaphore are essentially the same. Both can take values: 0 or 1. However, there is a significant difference between them that makes mutexes more efficient than binary semaphores.

A mutex can be unlocked only by the thread that locked it. Thus a mutex has an owner concept.

Operating System mutex - May 06, 2009 at 18:10 PM by Vidya Sagar

What is difference between binary semaphore and mutex?

The differences between binary semaphore and mutex are:

  • Mutex is used exclusively for mutual exclusion. Both mutual exclusion and synchronization can be used by binary.
  • A task that took mutex can only give mutex.
  • From an ISR a mutex can not be given.
  • Recursive taking of mutual exclusion semaphores is possible. This means that a task that holds before finally releasing a semaphore, can take the semaphore more than once.
  • Options for making the task which takes as DELETE_SAFE are provided by Mutex, which means the task deletion is not possible when holding the mutex.
Operating system - meaning of mutex - Jan 07, 2010 at 15:00 PM  by Vidya Sagar

Explain the meaning of mutex.

Mutex is the short form for ‘Mutual Exclusion object’. A mutex allows multiple threads for sharing the same resource. The resource can be file. A mutex with a unique name is created at the time of starting a program. A mutex must be locked from other threads, when any thread that needs the resource. When the data is no longer used / needed, the mutex is set to unlock.


Write your comment - Share Knowledge and Experience

More operating system links

Explain the meaning of Kernal.

Answer - The kernel is the essential center of a computer operating system, the core that........            

What is pre-emptive and non-preemptive scheduling?

Answer - Tasks are usually assigned with priorities. At times it is necessary to run a certain.........

Explain the meaning of virtual memory.

Answer - Virtual memory is an approach to make use of the secondary storage devices as an extension.........


Latest placement tests
Latest links
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us