All Manuals > LispWorks User Guide and Reference Manual > 44 The MP Package

NextPrevUpTopContentsIndex

lock-recursively-locked-p

Function
Summary

The predicate for whether a lock is recursively locked.

Package

mp

Signature

lock-recursively-locked-p lock => result

Arguments

lock

A lock.

Values

result

A boolean.

Description

The function lock-recursively-locked-p is the predicate for whether lock is recursively locked. Since that can change at any time, the result is reliable only if you know that the state is not going to change. For the definition of recursive locking, see the make-lock argument recursivep.

If lock is a "sharing" lock, lock-recursively-locked-p checks whether is is locked exclusively.

See also

lock
make-lock
Locks


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex