Recursive Locking in Java [duplicate]
Can anyone explain what is meant by recursive locking in Java?
Many than开发者_Python百科ks
recursive locking in java means the same thread can lock the same mutex object twice and won't deadlock
Intrinsic locks in Java are reentrant. Recursive locking is the single method (correct me if I'm wrong) to ensure "hand-over-hand" locking using intrinsic locks.
精彩评论