[Twisted-web] using threads in twisted
p.mayers at imperial.ac.uk
Tue Apr 19 04:43:07 EDT 2011
On 04/18/2011 11:36 AM, Ivan wrote:
> Thanks, but how to kill workers by timeout in this example ?
You can't kill threads reliably in python AIUI.
If you want to reliably kill a task, spawn a process.
Alternatively you might see if you can break the task up into small
pieces of work, and schedule it in the mainloop using something like
More information about the Twisted-web