The transaction that a locked resource is associated with is said to hold or own the lock.
我们称与被锁定的资源关联的事务持有或拥有该锁。
One common problem is a deadlock (a "deadly embrace"), in which programs get stuck waiting for each other to release a locked resource.
死锁(“抱死,deadly embrace”)是常见的问题,在这种情形下,程序会因等待对方释放被加锁的资源而无法继续运行。
Mode: Specifies the type of access allowed for the lock owner as well as the type of access permitted for concurrent users of the locked data resource.
方式:指定了锁的拥有者所允许的访问类型,以及对锁定数据资源的并发用户许可的访问类型。
应用推荐