Correct option is A
Mutual exclusion is a fundamental concept in concurrent programming, ensuring controlled access to shared resources among processes. It prevents conflicts by restricting access to only one process at a time.
Information Booster:
1.
Statement A is correct: Mutual exclusion is crucial in scenarios where multiple processes or threads compete for the same resource, ensuring only one process is in the critical section.
2.
Statement B is correct: It prevents access conflicts and guarantees that shared resources aren’t accessed by more than one process simultaneously.
3.
Statement C is correct: Various algorithms (e.g., Peterson’s algorithm, semaphore mechanisms) help enforce mutual exclusion by ensuring that processes do not enter the critical section at the same time.
Additional Knowledge:
Statement D is incorrect because mutual exclusion, by design, prevents multiple processes from entering the critical section simultaneously. Allowing this would defeat the purpose of mutual exclusion.