Mutual Exclusion Problems with Mutex and Semaphore – Programing Languages (Mutex Vs Semaphores )

The mutex is a significantly safer mechanism to use for implementing mutual exclusion around shared resources. There are still a couple of problems that use of the Mutex (in preference to Semaphore) will not solve. These are: Circular deadlock Non-cooperation Circular Deadlock Circular deadlock, often referred to as the “deadly embrace” problem is a condition…… Continue reading Mutual Exclusion Problems with Mutex and Semaphore – Programing Languages (Mutex Vs Semaphores )

Semaphores-Computer Science Tutorial Programing Languages (Mutex Vs Semaphores )

In 1965, Edsger Dijkstra, a Dutch computer scientist, introduced the concept of a binary semaphore into modern programming to address possible race conditions in concurrent programs. His very simple idea was to use a pair of function calls to the operating system to indicate entering and leaving a critical region. This was achieved through the…… Continue reading Semaphores-Computer Science Tutorial Programing Languages (Mutex Vs Semaphores )

Mutex – Computer Science Tutorial Programing Languages (Mutex Vs Semaphores )

To address the problems associated with semaphore, a new concept was developed during the late 1980’s.The major use of the term mutex appears to have been driven through the development of the common programming specification for UNIX based systems. In 1990 this was formalized by the IEEE as standard IEEE Std 1003.1 commonly known as…… Continue reading Mutex – Computer Science Tutorial Programing Languages (Mutex Vs Semaphores )