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

NextPrevUpTopContentsIndex

lock-locked-p

Function
Summary

The predicate for whether a lock is locked.

Package

mp

Signature

lock-locked-p lock => result

Arguments

lock

A lock.

Values

result

A boolean.

Description

The function lock-locked-p is the predicate for whether a lock is locked. Since that can change at any time, the result is reliable only if you know that the state is not going to change.

If the lock is a "sharing" lock, this checks for an exclusive lock.

See also

make-lock


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex