How to terminate the function that runs every n seconds

Marko Rauhamaa marko at pacujo.net
Thu Jan 15 04:34:54 EST 2015


Dennis Lee Bieber <wlfraed at ix.netcom.com>:

> 	The main thing to consider is that "killing" a thread doesn't
> work well in Python. Instead the thread has to check for some signal
> telling it to quit.

Alas, a thread can't check anything because it's blocked by I/O.


Marko



More information about the Python-list mailing list