CUET PG 2026 — operating system os PYQ
CUET PG | operating system os | 2026Semaphore Atomic Operations
List-I (Semaphore Command)
A. wait(S) / P(S)
B. signal(S) / V(S)
C. Binary Semaphore
D. Block Queue
List-II (Atomic Code Action)
Decrements count; blocks process if value becomes negative (S < 0)
Increments count; wakes up a blocked process if queue is not empty
Variable restricted strictly to values 0 and 1
List of PCBs suspended waiting for a resource to clear
