RTEMS Logo

RTEMS 4.6.0pre5 On-Line Library


Scheduling Concepts Preemption

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

18.2.2: Preemption

Another way the user can alter the basic scheduling algorithm is by manipulating the preemption mode flag (RTEMS.PREEMPT_MASK) of individual tasks. If preemption is disabled for a task (RTEMS.NO_PREEMPT), then the task will not relinquish control of the processor until it terminates, blocks, or re-enables preemption. Even tasks which become ready to run and possess higher priority levels will not be allowed to execute. Note that the preemption setting has no effect on the manner in which a task is scheduled. It only applies once a task has control of the processor.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2003 OAR Corporation