Next Prev Up Top Contents Index

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 (Windows version) - 14 Dec 2001

Next Prev Up Top Contents Index