[Openmcl-devel] Odd lock behaviour.

martin brooks.martin at sympatico.ca
Wed Mar 11 09:19:19 PDT 2020

Hello All
Is the following easily explained?
Why is the lock grab-able at the breakpoint?
The same experiment with the IDE (on Mac) shows the lock not grab-able in a second Listener, at the same time that it is grab-able inside the breakpoint on the first Listener.

Clozure Common Lisp Version 1.12-dev  DarwinX8664

? (defvar gg)

? (setf gg (make-lock))
#<RECURSIVE-LOCK [ptr @ #x20E05300] #x302000A1D3ED>

? (with-lock-grabbed (gg) (break))
> Break: Break

1 > (with-lock-grabbed (gg) 'foo)
1 > 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20200311/79446421/attachment.htm>

More information about the Openmcl-devel mailing list