The predicate for whether a lock is locked.
mp
lock-locked-p lock => result
lock⇩ |
A lock. |
result |
A boolean. |
The function lock-locked-p
is the predicate for whether 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 lock is a "sharing" lock, this checks whether it is locked exclusively.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:51