Dhiraj Sharma schrieb:
> 1. Is it possible to cancel (kill) a "child" thread from the main thread
> in Python running on Windows?
If you have control over the code of the thread, it could periodically check
(in it's "run" method) an Event or Queue object, whether it should exit. See
http://www.pyt
On Saturday 31 March 2007 07:07, Dhiraj Sharma wrote:
> I would appreciate help on two related questions:
>
> 1. Is it possible to cancel (kill) a "child" thread from the main
> thread in Python running on Windows?
I don't think so. If you want to kill part of the program you must run
it in a dif
On 3/31/07, Dhiraj Sharma <[EMAIL PROTECTED]> wrote:
> 2. Also, is it possible to cancel (abort) a blocking read (say, to stdin) in
> a function that can be called by a timer? The goal is to cancel the read if
> input is not forthcoming within a specified time.
For Windows, no idea. For Unix I'd
I would appreciate help on two related questions:
1. Is it possible to cancel (kill) a "child" thread from the main thread in
Python running on Windows?
2. Also, is it possible to cancel (abort) a blocking read (say, to stdin) in a
function that can be called by a timer? The goal is to cancel