[Twisted-Python] Simple Epoll Reactor question

Glyph Lefkowitz glyph at twistedmatrix.com
Sat Jul 18 14:11:42 MDT 2009


On Sat, Jul 18, 2009 at 2:41 PM, Andrew Francis<andrewfr_ice at yahoo.com> wrote:

> What am I doing wrong? Thanks in advance.

The first google hit for "epollreactor api" is:
<http://twistedmatrix.com/documents/8.2.0/api/twisted.internet.epollreactor.html>.

The two lines of code there are the *only* things your program should
do in order to use the epoll reactor.  (Actually, you should just use
the '-r' option to 'twistd', but I digress.)  After those lines are
run, your program should 'from twisted.internet import reactor' as
usual.




More information about the Twisted-Python mailing list