Stopping threads from the outside
Aahz
aahz at pythoncraft.com
Sun Mar 24 10:03:27 EST 2002
In article <mailman.1016973877.10866.python-list at python.org>,
<holger at trillke.net> wrote:
>
>maybe a simple question:
>
>how could you stop a running threading.Thread from the *outside*? of
>course i could introduce some kind of flag into the event loop of the
>Thread.run-method, but i really would prefer to have a non-instrusive
>way for several reasons.
>
>Any way to do this?
Not really. Why do you want to do it?
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"We should forget about small efficiencies, about 97% of the time.
Premature optimization is the root of all evil." --Knuth
More information about the Python-list
mailing list