[okl4-developer] L4 > scheduler

Jorge Torres jorge.torres.maldonado at gmail.com
Wed Mar 26 00:10:06 EST 2008


>
> - What happen if we have two threads with the same priority? Fifo? lifo?
>
THey are scheduled roundrobin

> -about threads, priority and domain : if domaine is like a time partition,
> can a thread only execute in its domain, whatever its priority is? (then can
> we see a two stage scheduling : domains and then thread inside domains)

Do you mean protection domains?

- what about thread needing lesser-priority threads ? If A is an high prio
> thread and need a message to/from B, a low prio thread, with all the IPC
> stuff, will A be stopped and resumed after B is done (maybe after
> C,D,E,F...) , or will A give temporarly a high prio for B to execute and
> resume? (B is not created by A, otherwise the problem is solved)
>
I dont know if I understand correctly what you mean here, but IPC is an
atomic operation, if by some reason the sender has higher priority and is
active, then the ipc would perform, this could led into some priority
inversion depending on the receiver thread, I think there is a paper about
this by sergio ruocco.

All the best,

JOrge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080325/4356efd9/attachment.htm 


More information about the Developer mailing list