cross platform alternative for signal.SIGALRM?

Marko Rauhamaa marko at pacujo.net
Wed Nov 11 11:30:23 EST 2015


Ulli Horlacher <framstag at rus.uni-stuttgart.de>:

> What is the best practise for a cross platform timeout handler?

Here's the simplest answer:

   https://docs.python.org/3/library/threading.html#threading.Timer

(Also available in Python 2.)


Marko



More information about the Python-list mailing list