On Mon, Jul 16, 2007 at 03:41:19PM +0200, [EMAIL PROTECTED] wrote:
> > > def threadSafeMethod(lock):
> > > def decorator(fn):
> > > def _wrapper(self, *args, **kwargs):
> > >
> > > if '_SO_fetch_no_create' in kwargs:
> > > return fn(self, *args, **kwargs)
> >
> > Does the solution work in the long run?
>
> Seems like it. I haven't had a single lockup since then, and no negative
> side-effects either.
Applied and committed in the revisions 2758-2762 (branches 0.7, 0.8,
0.9, the trunk and the docs). Thank you!
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss