[Twisted-Python] Reactor hangs on second call to reactor.run

Jean-Paul Calderone exarkun at divmod.com
Wed Apr 18 22:03:20 EDT 2007


On Wed, 18 Apr 2007 21:19:58 -0500, Ed Manlove <devpypltw at verizon.net> wrote:
> [snip]
>
>But is restarting the reactor supported?  I'm sorry if I was not clear but 
>after the requested data is received I call reactor.stop() and return back 
>to Plone/Zope engine. If later another request is made I will call the 
>reactor.run(installSignalHandlers=0).  But again this will
>only be done after a call to reactor.stop and within a different function 
>call.
>
>Does this matter or is this what mean by starting the reactor multiple 
>times?

This is indeed what I mean.

Jean-Paul




More information about the Twisted-Python mailing list