Kill thread

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Apr 9 12:04:00 EDT 2007


En Mon, 09 Apr 2007 06:14:26 -0300, Teja <tejovathi.p at gmail.com> escribió:

> 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()???

As you can read on:
http://msdn2.microsoft.com/en-us/library/kdzttdcb(VS.80).aspx
if you use this C runtime function, you should call _endthreadex() (from  
the same thread you want to end!)

I wonder, why don't you use the thread support already present in Python?

-- 
Gabriel Genellina




More information about the Python-list mailing list