Re: [Zope] threading cont ...boundary="------------98A416F9F4157B1993D63C72"

2000-08-09 Thread Loren Stafford
ZScheduler has been superceded by Xron http://www.zope.org/Members/lstaffor/Xron -- Loren From: "Martijn Pieters" <[EMAIL PROTECTED]> > On Wed, Aug 09, 2000 at 10:12:50AM +0800, Nicholas Lo wrote: > > In fact, I'm trying to use ZOPE to do some automation, eg. reminder > > emails, news clippin

Re: [Zope] threading cont ...boundary="------------98A416F9F4157B1993D63C72"

2000-08-08 Thread Martijn Pieters
On Wed, Aug 09, 2000 at 10:12:50AM +0800, Nicholas Lo wrote: > In fact, I'm trying to use ZOPE to do some automation, eg. reminder > emails, news clipping, or maybe some WAP applications as well. I want to > make it able to schedule itselfs so as to better utilise resources, make > ZOPE more or le

Re: [Zope] threading cont ...boundary="------------98A416F9F4157B1993D63C72"

2000-08-08 Thread Nicholas Lo
Dieter Maurer wrote: > > Nicholas Lo writes: > > ... database modification seen inside but not outside of process ... > > Obviously, the database modifications have not been commited. > > Auto-Commit in Zope is coupled to *one* thread serving the > request: > > It works by registering with

Re: [Zope] threading cont ...boundary="------------98A416F9F4157B1993D63C72"

2000-08-08 Thread Dieter Maurer
Nicholas Lo writes: > ... database modification seen inside but not outside of process ... Obviously, the database modifications have not been commited. Auto-Commit in Zope is coupled to *one* thread serving the request: It works by registering with the "transaction" associated with the cu

[Zope] threading cont ...

2000-08-07 Thread Nicholas Lo
First, thanks to Dieter :) Well, I have written a simple test products, which I have attached to this message as a .tgz file. This product does vert little things. When B1 is pressed, two new threads will start, one will update column of the database table, while the other will prompt the current

[Zope] threading

2000-08-07 Thread Nicholas Lo
Just a simple question. According to Amos' How-To: Thread Safety in Zope 2, what is mutable global or shared variables?? What is the scope of such global variables? Zope wide? module wide? If global variable is not permitted, how can I approach thread programming in Zope? Without global variables,