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.
Copyright © 1988-2008 OAR Corporation