It's easy to create problems in programs using locking mechanisms if locks aren't acquired and released in the same order across the entire program, as seen in the slide above.
hjyang
I definitely agree that fine grain locking which shows good performance can lead to the deadlock with only small mistakes based on the assignments and examples in the lecture.
It's easy to create problems in programs using locking mechanisms if locks aren't acquired and released in the same order across the entire program, as seen in the slide above.