Process Synchronization: GATE CS Previous Year Questions

Process Synchronization · Operating System

41 questions · asked in 23 of 27 years (2000–2026)

MCQ 34 · MSQ 4 · NAT 31-mark 22 · 2-mark 19

2000Questions per year2026

Questions 41–41 of 41

Q41GATE 20001 markMCQ−0.33 if wrong
Let m[0]…m[4]m[0]\ldots m[4]be mutexes (binary semaphores) and P[0]…P[4]P[0]\ldots P[4] be processes. Suppose each process P[i] executes the following:
wait (m[i]); wait (m[(i+1) mod 4]);
 ........... 
 release (m[i]); release (m[(i+1) mod 4]);
This could cause

Keep practising

Topics in Operating System

All CS topics ›