Task Priority Setting
adam at os.inf.tu-dresden.de
Fri Apr 15 00:59:56 CEST 2016
On Wed Apr 13, 2016 at 15:22:46 +0200, Nourhan Mohamed wrote:
> I have been trying to run 2 simple L4 tasks and give one of them highest
> scheduling priority and the other one the least. I have tried using the
> priority attribute in the start script as well as:
> scheduler = L4.Env.user_factory:create(L4.Proto.Scheduler, 0x18, 0x8)
> with different ranges for each of them but I don't notice any change in
> their runtimes.
That looks good to me. You should check in the jdb, with 'lp' you'll get
a list of all threads. There will be a prio column for each thread. Do
you see your values?
Adam adam at os.inf.tu-dresden.de
More information about the l4-hackers