Fair lock, unfair lock

Blog.csdn.net/java_wxid/a…

Reentrant lock, recursive lock

Blog.csdn.net/java_wxid/a…

spinlocks

Blog.csdn.net/java_wxid/a…

Read-write lock

Blog.csdn.net/java_wxid/a…

Pessimistic lock, optimistic lock

Blog.csdn.net/qq_34337272…

Row locks, table locks, deadlocks

Blog.csdn.net/eternal_yan…

A distributed lock

Blog.csdn.net/wuzhiwei549…

Thread synchronization lock

www.cnblogs.com/lyjblogs/p/…