a pair of mutexes A and B
an object needs to unlock both mutexes to do some operations
if(
object 1 owns A
object 2 owns B )
both of objects can not perform some operations
a pair of mutexes A and B
an object needs to unlock both mutexes to do some operations
if(
object 1 owns A
object 2 owns B )
both of objects can not perform some operations