[Openmcl-devel] reentrant locks support

Gary Byers gb at clozure.com
Wed May 2 16:41:57 UTC 2012


The manual entry for WITH-LOCK-GRABBED says that that construct "waits until
the lock is either free or owned by the calling thread", but I don't see anything
that makes it clearer that MAKE-LOCK makes "recursive" locks.  It does.



On Wed, 2 May 2012, Antony wrote:

> Hi
>
> I have been assuming that on CCL (at least on Linux x64)
> ccl:make-lock and ccl:grab-lock allow recursive locking in the same thread.
> ( http://ccl.clozure.com/ccl-documentation.html#f_grab-lock  was not clear 
> enough)
> Could somebody please confirm.
>
> Reason -
> While I haven't found anything to say otherwise, there is a thread (no pun 
> intended) going on in
> bordeaux-threads-devel mailing list that says they'll remove support for 
> recursive locks.
> I do not want that to happen.
>
> -Antony
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list