[Twisted-Python] How to accept connections faster

Mary Gardiner mary-twisted at puzzling.org
Wed Mar 16 05:40:13 EST 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