[Zope-dev] Transaction environment in threaded zope-product

Chris Withers chrisw@nipltd.com
Fri, 09 Nov 2001 14:37:47 +0000


Christian Theune wrote:
> 
> I have a zope product, that uses threads, to control programs
> running outside zope and doing some async stuff.

You do realise that's pointing a loaded gun at your own head?

> get_transaction().begin() doesn't work, and I don't find any
> documentation to get started from ...

Maybe you're looking for get_transaction().commit()?

But, to be able to see the results in another thread, that thread would probabyl
need to do get_transaction().begin().

Just so you're aware, I think you're wandering through a minefield with this
one...

Chris