Next Previous Up Top Contents Index

13 The MP Package

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

Thelock-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 - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker