B.3 Locks

make-lock  &optional name [Function]
          

Creates a lock whose name is name. On systems that do not support locking, this will return a new list of one element, nil. [annotate]

[annotate]

with-lock-held  (place &optional state) &body body [Macro]
          

Evaluates body with the lock named by place. place is a reference to a lock created by make-lock. [annotate]

On systems that do not support locking, with-lock-held is equivalent to progn. [annotate]

[annotate]

make-recursive-lock  &optional name [Function]
          

Creates a recursive lock whose name is name. On systems that do not support locking, this will return a new list of one element, nil. A recursive lock differs from an ordinary lock in that a process that already holds the recursive lock can call with-recursive-lock-held on the same lock without blocking. [annotate]

[annotate]

with-recursive-lock-held  (place &optional state) &body body [Macro]
          

Evaluates body with the recursive lock named by place. place is a reference to a recursive lock created by make-recursive-lock. [annotate]

On systems that do not support locking, with-recursive-lock-held is equivalent to progn. [annotate]

[annotate]