Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Which of the following is not a reasonable constraint for mutual exclusion solut

ID: 3772810 • Letter: W

Question

Which of the following is not a reasonable constraint for mutual exclusion solution?

Only processes competing for a critical section are involved in resolving who enters the critical section

A priority scheme can be used such that a process with higher priority can preempt processes with lower priority

After requesting entry, only a bounded number of other processes may enter the critical section before the requesting process

Once a process attempts to enter its critical section, it cannot be postponed indefinitely

A.

Only processes competing for a critical section are involved in resolving who enters the critical section

B.

A priority scheme can be used such that a process with higher priority can preempt processes with lower priority

C.

After requesting entry, only a bounded number of other processes may enter the critical section before the requesting process

D.

Once a process attempts to enter its critical section, it cannot be postponed indefinitely

Explanation / Answer

Answer:

According to mutual exclusion, it will allow only one thread to enter into a critical section. Whatever happens, it does not allow other threads to enter until the present thread comes out of the critical section.

Thus, the answer is option C that is, “After requesting entry, only a bounded number of other processes man enter the critical section before the requesting process”.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote