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.
lock-name
(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 Locks
LispWorks User Guide and Reference Manual - 20 Sep 2017