A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-May/014980.html below:

[Python-Dev] Killing threads

[Python-Dev] Killing threadsAahz Maruch aahz@rahul.net
Wed, 23 May 2001 07:08:45 -0700 (PDT)
Okay, so we all know it isn't possible to kill threads cleanly and
safely in any kind of cross-platform way.  At the same time, a program
that has a thread running haywire should be able to kill itself
completely, so that a monitoring process can restart it.  How hard would
it be to do only that in a cross-platform way?

I'm guessing that for Unix, we'd just send a hard signal (9 or 15).  No
clue what would need to happen for Windows and Mac.

(This got brought up because I experimented with os._exit() as a
possible solution, but that GPFs on Win98SE.)
-- 
                      --- Aahz (@pobox.com)

Hugs and backrubs -- I break Rule 6       <*>       http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista

I don't really mind a person having the last whine, but I do mind
someone else having the last self-righteous whine.



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