All Manuals > LispWorks User Guide and Reference Manual > 35 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 object

Values

name

A string

Description

The function lock-name takes a lock object as its argument and returns the name of the lock object.

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

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


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex