Lock Allocation and Other Services

The lock allocation services that are described in this section allocate and free internal operating system memory for simple and complex locks, or check if the caller owns a lock.

Item Description
lock_alloc Allocates system memory for a simple or complex lock.
lock_free Frees the system memory of a simple or complex lock.
lock_mine Checks whether a simple or complex lock is owned by the caller.