0
9.3kviews
Explain mutual exclusion
written 6.3 years ago by | modified 2.3 years ago by |
Subject: Operating System
Topic: DISTRIBUTED SYSTEMS
Difficulty: Medium
ADD COMMENT
EDIT
1 Answer
written 6.3 years ago by | modified 2.3 years ago by |
Subject: Operating System
Topic: DISTRIBUTED SYSTEMS
Difficulty: Medium
written 6.1 years ago by |
A mutual exclusion (mutex) is a program object that prevents simultaneous access to a shared resource. This concept is used in concurrent programming with a critical section, a piece of code in which processes or threads access a shared resource.
Only one thread owns the mutex at a time, thus …