thread already started...

Jarek Zgoda jzgoda at gazeta.usun.pl
Sat Feb 21 07:13:31 EST 2004


sarmin kho <sarmin_kho at yahoo.com> pisze:

> ANY IDEA ON HOW TO STOP ALL THREADS INDEFINITELY WITHOUT CLOSING THE
> GUI??... python command 'sys.exit()' will exit from my main running
> code (the python GUI)...

I don't think it's possible. And even if it is possible, this would be a
bad idea, since threads may access and change some data -- forcing them
to terminate could wreak havoc on this data.

-- 
Jarek Zgoda
http://jpa.berlios.de/



More information about the Python-list mailing list