Back to the 2022 paper

Module 3: Inter-process Communication

20227m

What do you understand by critical section problem. Discuss the requirements that a solution to the critical section problem must satisfy.

Worked SolutionAI Assisted

Critical Section Problem

Code segment where shared resources accessed. Requirements: 1) Mutual Exclusion (only one in CS), 2) Progress (decision in finite time if no one in CS), 3) Bounded Waiting (limit on waiting). Solutions: software (Peterson), hardware (TSL, swap), semaphores, monitors.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.