Package: bordeaux-threads

Function make-recursive-lock

Lambda List

make-recursive-lock (&optional name)


Create and return a recursive lock whose name is name. A recursive lock differs from an ordinary lock in that a thread that already holds the recursive lock can acquire it again without blocking. The thread must then release the lock twice before it becomes available for another thread.