make-lockPortable Threadsnearly-forever-secondsmake-recursive-lockGoTo Top

make-recursive-lock   &key name => recursive-lock[Function]

Purpose
Create a recursive lock.

Package   :portable-threads

Module   :portable-threads

Arguments and values

name     A string.
lock     A recursive lock

Returns
The newly created recursive lock.

See also
    make-condition-variable
    make-lock
    thread-holds-lock-p
    with-lock-held
    without-lock-held

Example

  > (make-recursive-lock :name "Priority Queue")
  #<recursive-lock Priority Queue>
  >

Note
On Common Lisp implementations without threads, a “pseudo-recursive-lock” object is returned.


The GBBopen Project


make-lockPortable Threadsnearly-forever-secondsmake-recursive-lockGoTo Top