Thread interruption

Joshua Marshall jmarshal at mathworks.com
Fri Apr 27 12:04:27 EDT 2001


Yann Cointepas <yann.cointepas at chups.jussieu.fr> wrote:
> Is there any portable ( Unix and Windows) way to interrupt a thread ?

In Python, arbitrary threads aren't interruptible.  As far as I know,
the only thread you can interrupt is the main thread, by sending a
signal to the process (in unix-land).

The ability to interrupt arbitrary threads would be useful.



More information about the Python-list mailing list