Re: Thread Pre-Emption Question . . .
- From: "m" <m@xxx>
- Date: Mon, 12 Nov 2007 11:45:29 -0500
No matter what code he writes, he cannot guarantee a max latency of 40 ms.
He could write a driver and do all processing in an ISR and still not
guarantee that, or any, fixed latency. The ISR might not even start to
execute until more than 40 ms after the interrupt was raised.
"Pops" <dude@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eI%23X8lIJIHA.5860@xxxxxxxxxxxxxxxxxxxxxxx
m wrote:
As to the OP's problem: My understanding was that he has an impossible
task, to provide a guarantee of execution
within 40 ms on Windows,
I disagree, especially if its interrupt driven.
This is not uncommon design requirement and there are many everyday
applications since the annals of computing history that require a smaller
residence time than 40ms, e.g, sockets and telecommunications.
It is when you run into the WIN32 QUANTUM limits, is when you begin to
need to consider RTOS designs. In other words, if he needed a residence
time of less than ~15ms, then he would be fighting an uphill battle with
WIN32.
But then again, he didn't say who is the audience and what further
specialization he needs, e.g, is this for "USERS", can it be a dedicated
server application? In such environments, he can use higher priverledges
or even use device drivers? Can he use embedded windows, CE?
The key though, and again, this design is par for the course, is that he
will need to queue the PUMP. Processing an interrupt, and/or event signal
moving the data to a queue SHOULD not take 40ms.
I don't wish to be disrespectful but if I need to further explain this,
then I see that I'm talking to a few individuals with little practical
process control experience and/or with large projects and product lines.
Maybe you do, but there has nothing that has been stated that would trump
my own input here.
Thanks
--
HLS
.
- Follow-Ups:
- Re: Thread Pre-Emption Question . . .
- From: Pops
- Re: Thread Pre-Emption Question . . .
- References:
- Re: Thread Pre-Emption Question . . .
- From: Pops
- Re: Thread Pre-Emption Question . . .
- From: Pops
- Re: Thread Pre-Emption Question . . .
- From: Pops
- Re: Thread Pre-Emption Question . . .
- From: Pops
- Re: Thread Pre-Emption Question . . .
- From: m
- Re: Thread Pre-Emption Question . . .
- From: Pops
- Re: Thread Pre-Emption Question . . .
- From: m
- Re: Thread Pre-Emption Question . . .
- From: Pops
- Re: Thread Pre-Emption Question . . .
- Prev by Date: Re: Thread Pre-Emption Question . . .
- Next by Date: Re: Thread Pre-Emption Question . . .
- Previous by thread: Re: Thread Pre-Emption Question . . .
- Next by thread: Re: Thread Pre-Emption Question . . .
- Index(es):
Relevant Pages
|