forked from Imagelibrary/rtems
Eric Norum spotted this sentence where it said preemption had to be
disabled for timeslicing to happen. This was wrong.
This commit is contained in:
@@ -1261,7 +1261,9 @@ mode parameter.
|
||||
The calling task will be preempted if it enables preemption and
|
||||
a higher priority task is ready to run.
|
||||
|
||||
Enabling timeslicing has no effect if preemption is enabled.
|
||||
Enabling timeslicing has no effect if preemption is disabled. For
|
||||
a task to be timesliced, that task must have both preemption and
|
||||
timeslicing enabled.
|
||||
|
||||
A task can obtain its current execution mode, without modifying
|
||||
it, by calling this directive with a mask value of
|
||||
|
||||
Reference in New Issue
Block a user