[elephant-devel] running out of locks

Gábor Melis mega at hotpop.com
Sun Feb 13 09:31:53 UTC 2005


On Saturday 12 February 2005 21:45, Ben wrote:
> where did you find info on releasing locks on passed objects?

It is in the same thread I sent a link for, search for 'behind'.

> the current transaction is held in the *current-transaction* special.
> i think if you can do something like
>
> (defmacro without-transaction (&body)
>    (let ((*current-transaction* +NULL-VOID+))
>      `, at body))
>
> and the stuff in body should be not in a transaction.  (i don't
> remember my backquote syntax.....)
>
> caveat: there is some hair with the way with-transaction works, so i
> can't 100% guarantee nesting with and withouts will be totally kosher.
> it is supposed to work though so if you run into problems with this
> let me know.

Thanks, Gábor

>
> take care, B



More information about the elephant-devel mailing list