Shutting down a cross-platform multithreaded app

Paul Rubin no.email at nospam.invalid
Fri Sep 18 20:23:13 CEST 2015


"James Harris" <james.harris.1 at gmail.com> writes:
> I have a multithreaded app that I want to be able to shut down easily
> such as by hitting control-c or sending it a signal. 

Set the daemon flag on the worker threads, so when the main thread
exits, the workers also exit.



More information about the Python-list mailing list