threading module, call thread.interrupt_main()

Simon Forman sajmikins at
Thu Oct 8 18:40:37 CEST 2009

2009/10/7 找尋自己的一片天 <command.bbs at>:
> Sorry to ask, but i don't know how to solve it.
> 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?
> Thanks a lot!!

"it didn't work" is not enough information.

What is your code (smallest version that shows the problem)?

And what is the traceback?

More information about the Python-list mailing list