If the locks are acquired in the order, there will be no circular wait and hence no deadlock.

So A

13 Feb 2016 - 5:24pm