- Thread X holds locks C, B and is requesting lock A. Thread Y holds
lock A and is requesting lock C. Thread Z holds no locks but is
requesting locks A, B. Is there deadlock?
- Thread X holds lock C and is requesting lock A. Thread Y holds lock A
and is requesting lock B. Thread Z holds no locks but is requesting locks
A, B. Is there deadlock?