Returns the name of a lock.
mp
lock-name lock => name
lock
A lock object
name
A string
The function lock-name takes a lock object as its argument and returns the name of the lock object.
lock-name
(let ((lock (mp:make-lock :name "my lock")))
(mp:lock-name lock))
=> "my lock"
make-lock with-lock process-lock process-unlock lock-owner
LispWorks User Guide and Reference Manual - 13 Feb 2015