Next Previous Up Top Contents Index

13 The MP Package

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 ist, an error is signalled if*current-process* is not the owner of the lock. The default ist.

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 nownil, the lock is released. Note thatprocess-unlock relates only on Lisp processes.
See also

claim-lock
make-lock
process-lock
release-lock
with-lock


LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker