![]() | ![]() | ![]() | make-lock | ![]() |
| &key name | [Function] |
Purpose
Create a lock.
Package :portable-threads
Module :portable-threads
Arguments and values
name | A string. | |
lock | A lock |
Returns
The newly created lock.
See also
make-condition-variable
make-recursive-lock
thread-holds-lock-p
with-lock-held
without-lock-held
Example
> (make-lock :name "Priority Queue") #<lock Priority Queue> >
Note
On Common Lisp implementations without threads, a
“pseudo-lock” object is returned.
The GBBopen Project
![]() | ![]() | ![]() | make-lock | ![]() |