threads

lrobb lrobb at home.com
Tue May 22 12:14:38 EDT 2001


Is there a better way to stop a BaseHTTPServer than Ctrl-C?

"lrobb" <lrobb at home.com> wrote in message
news:T1wO6.7071$CD5.2628025 at news2.rdc2.tx.home.com...
> I have a global timer thread that cycles an event every 20 minutes.
>
> When I stop the program via (Ctrl-C), this thread doesn't die.
>
> How can I stop him?
>
>
> According to the threading docs, I can't :
> "Python's Thread class supports a subset of the behavior of Java's Thread
> class; currently,
> there are no priorities, no thread groups, and threads cannot be
destroyed,
> stopped,
> suspended, resumed, or interrupted"
>
> Whats up with that?
>
>
>
>





More information about the Python-list mailing list