Re: Task Priority Setting

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi,

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                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.