edited by
6,682 views
6 votes
6 votes

Mutual exclusion problem occurs

  1. between two disjoint processes that do not interact
  2. among processes that share resources
  3. among processes that do not use the same resource
  4. between two processes that uses different resources of different machine
edited by

3 Answers

Best answer
9 votes
9 votes

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.

Hence, option B is correct...

selected by
0 votes
0 votes
Mutual exclusion happens when two processes share some resources. This is because if both processes access the resource at same time, it leads to error.

Ans is B.
0 votes
0 votes
Among process that share resources
Answer:

Related questions

6 votes
6 votes
4 answers
1
sh!va asked May 7, 2017
5,453 views
A critical regionis a piece of code which only one process executes at a timeis a region prone to deadlockis a piece of code which only a finite number of processes execu...
0 votes
0 votes
2 answers
2
shivajikobardan asked Jul 22, 2023
726 views
Sorry if this is a stupid question. But it really intrigued me. Same resources at different algorithms are telling different ways to test these stuffs.Here's an algorith...