[Tutor] Exit a child thread using threading.Thread() object

Bernard Lebel 3dbernard at gmail.com
Tue Jan 31 20:53:02 CET 2006

A quick question.

I have started a child thread using the threading.Thread class. Is
there any way to cleanly exit the child thread?

What I mean by "cleanly" is for example if you use the
thread.start_new() function to create a child thread, the function
running in the child thread can call thread.exit() to terminate the

I could not find anything comparable in the Thread object's documentation.


More information about the Tutor mailing list