[Tutor] Kill A Fuction Call?

Michael Janssen Janssen@rz.uni-frankfurt.de
Thu Jan 9 05:00:02 2003


also have look on the example for the signal module in the library: set
an SIGALARM handler an then set signal.alarm to an amount of time. This
*possible* also interrupts os.system or os.popen calls (havn't test it).

Michael

On Thu, 9 Jan 2003, Hy Python wrote:

> try the thread or threading module.
>
> Hy
>
>
>
> >From: Scott <syrinx@simplecom.net>
> >
> >Is it possible to call a function, and kill it if it doesn't complete in
> >a certain amount of time?
> >