[Twisted-Python] A thread in isolation

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Thu Feb 17 15:45:49 MST 2011


On 10:11 pm, p.mayers at imperial.ac.uk wrote:
>On 02/17/2011 09:38 PM, Andy.Henshaw at gtri.gatech.edu wrote:
>>My controlling thread just wants to start Twisted, let it do its 
>>thing,
>>and then let the thread stop. Later on, I 19d like to do it again. In 
>>the
>
>That's your problem. The reactor is not, in general, restartable.
>
>You need to start it only once and keep running it I'm afraid.

Or, feel free to implement restartability and send us a patch! :)

Jean-Paul




More information about the Twisted-Python mailing list