En Thu, 08 Oct 2009 00:33:04 -0300, §äŽmŠÛ€vªº...@€ù€Ñ <command....@alexbbs.twbbs.org> escribió:

Sorry to ask, but i don't know how to solve it.

No need to apologize!

I try to call thread.interrupt_main() function in my child thread's run method
which is inherit threading.Thread class.

But it didn't work, does anyone know why?

Are you join()ing your child thread? In this case the main thread won't acknowledge the exception until the join() call returns -- probably too late. A sleep() call isn't interruptible either.

I think it's already reported at http://bugs.python.org but I can't locate the issue right now.

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to