Kill thread

Teja tejovathi.p at gmail.com
Mon Apr 9 09:22:32 EDT 2007


On Apr 9, 6:18 pm, "Christian" <christ... at dowski.com> wrote:
> On Apr 9, 5:14 am, "Teja" <tejovath... at gmail.com> wrote:
>
> > Hi all,
>
> > Can any on help me out in killing a thread (i.e deleteing the reources
> > like, stack ,memory etc) which is started with
> > win32process.beginthreadex()???
>
> > Rite now, I am suspending the thread. But any pointers as to how to
> > delete the thread permanently?
>
> > Its pretty urgent... Please...
>
> > Teja.P
>
> Well, the answer with Python threads is that you don't kill them - you
> ask them to go away.  But since you are using something in the pywin32
> package, that rule might not apply.  Perhaps you would have better
> luck asking on the python-win32 list:http://mail.python.org/mailman/listinfo/python-win32
>
> Christianhttp://www.dowski.com

Can TASKKILL kill threads? For the TASKKILL command

TASKKILL /F /PID 1234 , I gave thread id instead of PID....

It didnt throw any error. Does that mean that thread is really killed,
releasing all its resources>

How can I ensure that the thread is killed?









More information about the Python-list mailing list