Join waitlist
Operating SystemsCommunity question

Deadlock ke 4 conditions yaad rakhne ka trick

Asked by Anjali Saxena 1 month ago 3 answers 13 votes

OS viva mein har baar puchte hai. Mera trick:

Mutual exclusion, Hold and wait, No preemption, Circular wait
= "My Hostel Needs Cleaning" 😂

Charo ek saath hone chahiye tabhi deadlock hoga. Ek bhi tod do toh deadlock nahi ho sakta, prevention isi pe based hai.

3 answers

Gayathri Menon1 month agoMost voted5

my hostel needs cleaning 😂 ab nahi bhulungi

Sid Rao1 month ago4

ek cheez add karta hu, banker's algorithm avoidance hai, prevention nahi. quiz me ye pucha tha aur maine galat kiya tha

Anjali Saxena1 month ago1

@Sid haan prevention, avoidance, detection teeno alag hai

Related questions

Go deeper

Want the full explanation, not just an answer?

Structured lessons on DSA, core CS, Java and interview skills, each ending in a quiz so you know it stuck.