[Twisted-Python] How to accept connections faster

Mary Gardiner mary-twisted at puzzling.org
Wed Mar 16 03:40:13 MST 2005


On Wed, Mar 16, 2005, Sinang, Danny wrote:
>         print "Looping..."
>         for i in range(10000000):
>             pass
>         print "Looping done."

Because this doesn't allow control to return to the main loop: it blocks
the entire process.

-Mary




More information about the Twisted-Python mailing list