Thread termination

Aidan Steele aidan at aidans.org
Fri Oct 13 06:05:45 EDT 2006


G'day,

As far as my understanding pertains, the thread dies shortly after the
function returns (ends). You can call "return" anywhere within the function
and kill the thread in the middle of its execution.

On 13 Oct 2006 02:38:28 -0700, Teja <tejovathi.p at gmail.com> wrote:
>
> Hi all,
>
> Does any one know how to terminate or kill a thread that is started
> with "start_new_thread()" in the middle of its execution?
>
> Any pointers?
>
> Thanks in advance
>
> Teja.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20061013/0d397555/attachment.html>


More information about the Python-list mailing list