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

Jean-Paul Calderone exarkun at divmod.com
Tue Apr 10 08:20:11 EDT 2007

On Tue, 10 Apr 2007 04:15:35 -0700 (PDT), Andrew Francis <andrewfr_ice at yahoo.com> wrote:
>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?

Please see the archives for previous discussions on this topic.



More information about the Twisted-Python mailing list