[Stackless] An idea for making Re: Twisted and Stackless
Andrew Francis
andrewfr_ice at yahoo.com
Tue Sep 19 23:52:34 CEST 2006
Message: 1
Date: Mon, 18 Sep 2006 10:58:17 -0400
From: "Christopher Armstrong"
<radix at twistedmatrix.com>
Subject: Re: An idea for making
To: stackless at stackless.com
Message-ID:
>It is true that reactor.run() blocks,
As I previously stated, the block on reactor.run() was
the big problem. Again I thank Bob for pointing this
out to me. When fully functional, my WS-BPEL processor
will run many BPEL processes, each calling and
processing web services, so I can't have a
reactor.run() that blocks for a long time. My solution
was to use LoopCall to issue a stackless.schedule()
each second. This way, tasklets that were scheduled,
got a chance to run.
>but once you're inside the running reactor, you can
>end up using stackless in such a way as to not even
>notice.
Agreed but getting to this stage was the problem.
Cheers,
Andrew
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list