On 20/06/2019 16:10, Matúš Valo wrote:
I have found out at least this link:
http://www.voidspace.org.uk/ironpython/threading.shtml
There is also example of aborting thread.
"""
The next sections provide some simple examples of threading with
IronPython, and illustrates using Thread.Abort. This doesn't mean that
signalling to threads when to stop isn't *generally* a better technique,
but (especially with a shared nothing model) it can sometimes be safe to
abort threads.
"""
There are almost always consequences to killing threads. Anyone who
thinks its an easy fix for pretty much anything is likely to suffer from
subtle and mysterious side-effects :-(
--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/LNHHSTP4WOVP24FCPZBSFXJO5RNSIDFD/
Code of Conduct: http://python.org/psf/codeofconduct/