gervaz <ger...@gmail.com> wrote: > >Ok, but then suppose I have multiple long running threads that I want >to delete/suspend because they are tooking too much time, which >solution do you propose?
The right solution is to write your threads so they have an escape hatch -- to periodically check a "should I die?" flag, and then commit suicide. That is the ONLY clean way to handle this problem. There is simply no clean way to force another thread to die without its permission. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list