Re: Check if thread is waiting for input or frozen
- From: "Peter Duniho" <NpOeStPeAdM@xxxxxxxxxxxxxxxx>
- Date: Sun, 18 May 2008 17:29:34 -0700
On Sun, 18 May 2008 16:58:09 -0700, Matt <matttelles@xxxxxxxxxxx> wrote:
Define "frozen". That's not a standard technical term in Windows
programming and could mean any variety of things.
Generally, I think he means "not responding". I agree, however, that's
not very clear. Does it mean not receiving user input, or not using any
CPU time or...
The phrase "not responding" isn't very clear either. What does "responding" mean? For a thread with a message pump, this often (though not necessarily) means that the thread is pumping messages. But most threads don't have a message pump. And many types of threads can sit and process for long periods of time without ever interacting with any other thread. Are those threads "not responding", even though they are working exactly as designed?
That said, it should not be necessary for you to do this. You will
probably get better advice if you explain why it is you think you want to
do this and what you hope to accomplish.
I would imagine he's looking for a heartbeat sort of mechanism to see
whether a program has "died" and needs to be restarted. Having written
more than my share, it sounds like the description given.
Well, only Gidi can elaborate. Thus my question. We can speculate until the cows come home, without a more descriptive question I don't see any way to offer practical advice.
Pete
.
- References:
- Check if thread is waiting for input or frozen
- From: Gidi
- Re: Check if thread is waiting for input or frozen
- From: Peter Duniho
- Re: Check if thread is waiting for input or frozen
- From: Matt
- Check if thread is waiting for input or frozen
- Prev by Date: Re: dynamically adding assembly reference to executing assembly
- Next by Date: How to parse CSV file
- Previous by thread: Re: Check if thread is waiting for input or frozen
- Next by thread: Function that's triggered when/before the application closes?
- Index(es):
Relevant Pages
|