NextPrevUpTopContentsIndex

process-unlock

Function
Summary

Relinquishes a lock held by the current process.

Package

mp

Signature

process-unlock lock &optional errorp => bool

Arguments

lock

The lock to be relinquished.

errorp

When this is t , an error is signalled if *current-process* is not the owner of the lock. The default is t .

Values

bool

t if the lock was unset; nil otherwise.

Description

Attempts to unset a lock. If the lock is owned by *current-process* , process-unlock decrements the lock count by 1. If the lock count is now nil , the lock is released. Note that process-unlock relates only on Lisp processes.

See also
claim-lock
make-lock
process-lock
release-lock
with-lock

LispWorks Reference Manual - 23 Jul 2004

NextPrevUpTopContentsIndex