[Twisted-Python] Question about Writing a Stackless Friendly Reactor

Andrew Francis andrewfr_ice at yahoo.com
Tue Apr 10 07:15:35 EDT 2007

Hello :

I have been using Twisted with Stackless. I am
interested in writing a more Stackless "friendly"
reactor. I believe a stackless friendly reactor would
call stackless.schedule() whenever possible.

I notice there are different types of reactor. I have
been looking at SelectReactor and its base case,
Posixbase. It seems easy enough to modify MainLoop to
put in a stackless.schedule(). However this approach
does not seem to be the most maintainable or
effective, since I would be overriding MainLoop only
to put in one line. What is the proper Twisted
approach to doing this?


Get your own web address.  
Have a HUGE year through Yahoo! Small Business.

More information about the Twisted-Python mailing list