Steve> Maybe, then, the real answer is "just exit from the main thread"?
Yes, I believe so. If that's not what's happening I would look to see if
there is another thread which wasn't marked as a daemon.
Skip
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Steve> The only way to do this is to have the thread regularly examine a
> Steve> "please quit" flag that is set from the main thread when
> Steve> termination is required.
>
> I thought the process would terminate when only daemon threads were left.
>
> Ski
Steve> The only way to do this is to have the thread regularly examine a
Steve> "please quit" flag that is set from the main thread when
Steve> termination is required.
I thought the process would terminate when only daemon threads were left.
Skip
--
http://mail.python.org/mailman/l
On Apr 3, 12:21 pm, [EMAIL PROTECTED] wrote:
> Hi!
>
> I have the following problem: I have written a short Python server
> that creates an indefinite simulation thread that I want to kill when
> quitting (Ctrl-C) from Python. Googling around has not given me any
> hints on how to cleanly kill runn
[EMAIL PROTECTED] wrote:
> Hi!
>
> I have the following problem: I have written a short Python server
> that creates an indefinite simulation thread that I want to kill when
> quitting (Ctrl-C) from Python. Googling around has not given me any
> hints on how to cleanly kill running threads before
Hi!
I have the following problem: I have written a short Python server
that creates an indefinite simulation thread that I want to kill when
quitting (Ctrl-C) from Python. Googling around has not given me any
hints on how to cleanly kill running threads before exiting. Any help
is appreciated!
Ca