Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- thr1->aquire rd
- thr2->lock mtx
- thr2->aquire wr <-- block on thr1
- 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