Actually i meant the original sel4 branch.
Does it work the same?


On Aug 13, 2016 4:54 PM, <Gernot.Heiser@data61.csiro.au> wrote:
> On 14 Aug 2016, at 9:09 , Norrathep Rattanavipanon <nrattana@uci.edu> wrote:
>
> Thanks for the responds.
>
> I have played around a bit with the priority values and just want to confirm the following:
> It seems to be the case that a thread can decrease its own priority value (assuming it has a capability to do so)
> but cannot increase its priority.

I assume you are you using the RT branch?

A thread has an MCP (maximum controlled prio) parameter. It cannot raise any thread’s prio (own or other) higher than its MCP, but it can always decrease. Your thread may have an MCP of zero, which is what most threads should have.

Gernot