cross platform alternative for signal.SIGALRM?
Ulli Horlacher
framstag at rus.uni-stuttgart.de
Thu Nov 12 02:22:18 EST 2015
Marko Rauhamaa <marko at pacujo.net> wrote:
> I'm thinking the only portable way is to run a watchdog process with
> subprocess or multiprocessing.
How can a subprocess interrupt a function in another process?
For example: waiting for user input with a timeout.
raw_input("Hit ENTER to continue or wait 10 s")
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum IZUS/TIK E-Mail: horlacher at tik.uni-stuttgart.de
Universitaet Stuttgart Tel: ++49-711-68565868
Allmandring 30a Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
More information about the Python-list
mailing list