What is a deadlock-free way to lock two mutexes A and B in several… | Process Synchronization question · AnyPrep