A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/076028.html below:

Thread interruption

Thread interruption Thread interruptionYann Cointepas yann.cointepas at chups.jussieu.fr
Fri Apr 27 11:54:22 EDT 2001
Is there any portable ( Unix and Windows) way to interrupt a thread ?

I made a program that is a graphical environment that is used to launch 
user Python scripts. Each user script is executed in its own thread 
"within" a common graphical environment provided by the main program. I 
would like to allow the user to kill a script but I found no clean and 
portable way to interrupt a thread from another thread.

Is it possible ?
Will it be possible ?

At least I realy need to interrupt a thread on Unix, can I safely use 
Python threads and a C extension module which uses libpthread ?

Thanks for any hint.
-- 
Yann Cointepas                        Tel: +33 1 53 82 84 14
INSERM U494 - CHU Pitié-Salpêtrière   Fax: +33 1 53 82 84 48
91 Boulevard de l'Hôpital
75634 PARIS CEDEX 13 France

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4