Stopping threads from the outside
G. Sumner Hayes
sumner-nntp5 at forceovermass.com
Sun Mar 24 13:00:00 EST 2002
In article <mailman.1016985696.13789.python-list at python.org>,
holger at trillke.net wrote:
>> >how could you stop a running threading.Thread from the *outside*?
[SNIP]
> Is the questions actually strange in any way? Like something
> you wouldn't usually like to do?
Yeah, killing a thread that's in unknown state can create all kinds
of problems (was it holding locks? Is data it was accessing in a
consistent state? etc...). It's pretty widely regarded as a Bad
Idea.
Sumner
--
rage, rage against the dying of the light
Usenet email address changes periodically. sumner-nntp at forceovermass
period com is more permanent.
More information about the Python-list
mailing list