A Solution using Tasks Re: [Stackless] Suggestion for a Solution ?
--- "Patrick M. Nielsen" <email@example.com> wrote:
> I had a similar problem, and Radix's threadless
> Twisted snippet proved to be
> a very viable solution
> Have a look at:
Thanks for the advice. Bob Ippolito also suggested
this. However I have been experimenting with the
Twisted task class.
I am still testing but I have done the following with
1. Set up a function -
2. l = task.LoopingCall(pump)
While Twisted waits for a connection, the call to
pump() allows other tasklets that are waiting, a
chance to run.
Once I know all the ins-and-outs, I will write this up
in the Wiki including an example.
Thanks for everyone's help.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
|All times are GMT. The time now is 12:57 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.