cross platform alternative for signal.SIGALRM?
Ulli Horlacher
framstag at rus.uni-stuttgart.de
Wed Nov 11 17:42:28 EST 2015
Marko Rauhamaa <marko at pacujo.net> wrote:
> Correct. The timer callback function (hello) would be called in a
> separate thread. An exception raised in one thread cannot be caught in
> the main thread. In general, there is no way for a thread to interrupt a
> sibling thread that is in a blocking function call.
Then threading.Timer is not a solution for my problem.
--
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