0
13kviews
What is mutual exclusion? Explain Petersons algorithm for mutual exclusion.
1 Answer
1
275views
  • 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 …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.