This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting task priority in RTL

Is there a legitimate way for the currently-running task to find its own priority under RTL? I want to be able to demote the priority of the current task using os_tsk_prio_self(1), and then restore it some time later to its original value.

I've got the feeling that this isn't terribly good design to have a task which needs to demote itself to allow other things to run, but I would like to try it as a debugging experiment anyway.

Thanks in advance,

Christopher Hicks
==

0