15.4.1.1 Recursive and sharing locks

The keyword argument
recursivep
to make-lock, when true, allows the lock to be locked recursively.
recursivep
is true by default. If
recursivep
is false then trying to lock again causes an error. This is useful for debugging code where the lock is not expected to be claimed recursively.