The lock.
The status of the process while lock is locked, as seen in the Process Browser.
A non-negative real
or nil
.
The forms to execute.
with-lock
executes body while holding lock, and unlocks lock when body exits. This is the recommended way of using a lock. The value of body is returned normally. body is not executed if lock could not be locked, in which case, with-lock
returns nil
. The timeout and whostate are used as specified by process-lock.
LispWorks User Guide and Reference Manual - 20 Sep 2017