Only the process executing the critical section is allowed to access the…
2017
Only the process executing the critical section is allowed to access the shared variable and all other processes should be prevented from doing so until the completion of the critical section. This is known as: ----------------------------------------
- A.
Interprocess communication
- B.
Semaphore
- C.
Mutual exclusion
- D.
Deadlock
Attempted by 760 students.
Show answer & explanation
Correct answer: C
Correct Answer: Mutual exclusion Explanation: Mutual exclusion ensures that only one process at a time can enter the critical section and access shared resources, preventing race conditions.