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

2001-11-26 Thread Chris McDonough
via persistence: db = self._p_jar._db worker = YourThread(db) worker.start() - Original Message - From: Christian Theune [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 09, 2001 6:46 AM Subject: [Zope-dev] Transaction environment in threaded zope-product Hi. I have

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

2001-11-09 Thread Christian Theune
Hi. I have a zope product, that uses threads, to control programs running outside zope and doing some async stuff. What I found is, that i can't do changes from the self-started thread (ChrisW: that's the problem... ;) ). But how do I get into a transaction do be able to change things on

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

2001-11-09 Thread Chris Withers
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

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

2001-11-09 Thread Dieter Maurer
Christian Theune writes: I have a zope product, that uses threads, to control programs running outside zope and doing some async stuff. What I found is, that i can't do changes from the self-started thread (ChrisW: that's the problem... ;) ). But how do I get into a transaction do