Returns the name of a lock.
mp
lock-name lock => name
lock⇩ |
A lock. |
name |
A string. |
The function lock-name
returns the name of lock, which was either passed as the name argument to make-lock or defaulted.
(let ((lock (mp:make-lock :name "my lock"))) (mp:lock-name lock))
=> "my lock"
lock
make-lock
with-lock
process-lock
process-unlock
lock-owner
19.4 Locks
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:51