Topic: Operating Systems / Concurrency
Tools that are primarily used for solving critical section problem are
- A. CPU scheduler and dispatcher
- B. Mutex lock and semaphores
- C. Demand Paging and swapping
- D. Process control system calls such as fork () and exec()
Answer: B. Mutex lock and semaphores
Explanation: The critical section problem in concurrent programming requires mechanisms to ensure mutual exclusion, progress, and bounded waiting. Mutex (mutual exclusion) locks and semaphores are the fundamental synchronization primitives provided by operating systems to solve this problem.