Create a deadlock · Problem Solving for Coding interviews
- Create 2 threads, t1 acquires lock1 and waits to acquire lock2
- Thread t2 acquires lock2 and waits to acquire lock1
Read full article from Create a deadlock · Problem Solving for Coding interviews
No comments:
Post a Comment