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 lock-name function 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 Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex