Stopping a python thread

cullman at my-deja.com cullman at my-deja.com
Wed Oct 18 15:11:08 EDT 2000


Is there any support for stopping a thread that
was spawned from the main thread?

I have experimented with _Thread__stop, and that
does seems to at least let the calling program
exit without hanging for the child thread.  But
if the calling program does not exit, the child
thread continues to run.

Is this not featured, as it is not available on
all thread platforms?  Is there any talk of
exposing more of the pthread stuff as an option?

Thanks,

Cayce


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list