| Allegro CL version 8.2 New since 8.2 release. | ||||||||||
Arguments: sharable-lock mode
Release a sharable-lock in
the specified mode.
The value returned is nil or one of the
keywords :unlocked
or :recursive.
The mode argument must be one of the
keywords :shared or :exclusive.
If the lock is locked in the specifed mode, the locker count is
decremented. If the count is still not zero, the
keyword :recursive is returned. If the count is
zero, the keyword :unlocked is returned.
If the lock is not locked, and safe-p (when the
lock was created with make-sharable-lock)
is nil,
nil is returned.
Note that a call to sharable-lock-unlock can only release a lock acquired with a call to sharable-lock-lock. The locks established with the with-shared-lock and with-exclusive-lock macros can only be released by exiting the dynamic context of the macro calls.
See Sharable locks in smp.htm.
See multiprocessing.htm for general information on multiprocessing in Allegro CL.
Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page is new in the 8.2 release.
Created 2016.6.21.
| Allegro CL version 8.2 New since 8.2 release. | ||||||||||