??? 07/09/10 12:01 Read: times |
#177177 - I see (I think) Responding to: ???'s previous message |
Johan Smit said:
the idea of a co-operative system needs all tasks to complete before the scheduler runs again. This inevitably wastes processing time. Andy Neil said:
Does it? Johan Smit said:
The timer interrupt is asynchronous with anything else. How can one be certain that tasks are done before the interrupt fires unless tasks are shorter than the timer period?
If so, processor time is wasted. Ah: So it's actually the fact that it's Time-Triggered that causes the "waste" - not (specifically) that it's a co-operative system ? |