edited by
210 views
0 votes
0 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.  None of the above.
edited by

1 Answer

0 votes
0 votes

Mutual exclusion problem occurs b) among processes that share resources.

While one process executes the shared variable, all other processes desiring to do so at the same time moment should be kept waiting; when that process has finished executing the shared variable, one of the processes waiting; while that process has finished executing the shared variable, one of the processes waiting to do so should be allowed to proceed. In this fashion, each process executing the shared data (variables) excludes all others from doing so simultaneously. This is called Mutual Exclusion.

Mutual exclusion needs to be enforced only when processes access shared modifiable data - when processes are performing operations that do not conflict with one another they should be allowed to proceed concurrently.

 

edited by

Related questions

0 votes
0 votes
2 answers
1
gatecse asked Mar 2, 2018
760 views
Bluetooth uses ____ method in physical layer to avoid interference from other devices or other networksFHSSFDSSTDSNone of the above
0 votes
0 votes
1 answer
2
gatecse asked Mar 2, 2018
392 views
In which of the following search agent operates by interleaving computation and action?Offline searchOnline searchBreadth first searchDepth first search
0 votes
0 votes
1 answer
3
gatecse asked Mar 2, 2018
374 views
Which of the following deals with the precise model where accurate solutions are achieved quickly?Soft computingMobile computingHard computingNone of the above
0 votes
0 votes
1 answer
4
gatecse asked Mar 2, 2018
510 views
Supervised learning and unsupervised learning are two board category ofData warehouseDBMSNeural NetworkNone of the above