[Tutor] Threads

Terry Carroll carroll at tjc.com
Tue Nov 16 02:50:36 CET 2004


On Mon, 15 Nov 2004, Kent Johnson wrote:

> Terry Carroll wrote:
> > I won't need them again.  Can the app exit with the threads still blocked?  
> > Will Python kill off all the threads then?
> 
> If the threads are marked as daemon threads (call 
> thread.setDaemon(True)) then Python will exit even if the thread is 
> still alive.

That's what I thought.  That's the opposite of what I want to have happen.  
I want the app to exit, and the threads it started to go away; they're 
done.



More information about the Tutor mailing list