Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. thr1->aquire rd
  2.  
  3. thr2->lock mtx
  4. thr2->aquire wr <-- block on thr1
  5.  
  6. thr1->lock mtx <-- DEADLOCK: thr2 will never unlock mtx because it blocks on this (thr1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement