
Real-time operating systems 225
ming within the application and the system can be destroyed by a
single rogue program that hogs all the processing power. This
method may be acceptable for a desktop personal computer but it
is not reliable enough for most real-time embedded systems.
Scheduler algorithms
So far in this section, the main methods of swapping tasks
has been discussed. It is clear that pre-emption is the first choice for
embedded systems because of its better system response. The next
issue to address is how to assign the task priorities so that the
system works and this is the topic that is examined now.
Rate monotonic
Rate monotonic scheduling ...