On Mon, 2007-01-29 at 17:41 +0100, Markus Osterried wrote:
> Hi Philippe,
> 
> see below a code snippet for demonstration of the task priority problem.
> The expected behaviour is that the new task is running immediately after
> lowering root's priority.
> The log of the reached statements should therefor be: 1, 10, 2, 3, 4, 5
> But instead the log is: 1, 2, 3, 4, 10, 5, i.e. the new task is running
> only after blocking root task.
> 

This issue has been addressed in the v2.3.x maintenance branch and
trunk/, so the fix will be available with v2.3.1 and above.

> About your question regarding the preemtible bit:
> The task should always be non-preemtible, also after it is unblocked.

Also fixed in v2.3.x and trunk/, since we now allow for sleeping
scheduler locks.

-- 
Philippe.



_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to