All Manuals > LispWorks User Guide and Reference Manual > 44 The MP Package

NextPrevUpTopContentsIndex

lock-name

Function
Summary

Returns the name of a lock.

Package

mp

Signature

lock-name lock => name

Arguments

lock

A lock.

Values

name

A string.

Description

The function lock-name returns the name of lock, which was either passed as the name argument to make-lock or defaulted.

Example
(let ((lock (mp:make-lock :name "my lock")))
  (mp:lock-name lock))
=> "my lock"
See also

lock
make-lock
with-lock
process-lock
process-unlock
lock-owner
Locks


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex