12.15 Locking Functions锁定函数

This section describes functions used to manipulate user-level locks.本节介绍用于操作用户级锁的函数。

Table 12.19 Locking Functions锁定函数

Name名称Description描述
GET_LOCK()Get a named lock获取命名锁
IS_FREE_LOCK()Whether the named lock is free命名锁是否可用
IS_USED_LOCK()Whether the named lock is in use; return connection identifier if true命名锁是否在使用中;返回连接标识符(如果为true
RELEASE_ALL_LOCKS()Release all current named locks释放所有当前命名锁
RELEASE_LOCK()Release the named lock释放命名锁