scheduling priorities

Hi all,

I had a brief question regarding scheduling priority of threads. Reading the component builder's manual I see some examples with thread priority of 0 some with 5 and one with 99. What is the highest and lowest priority of threads, is it 99 and 0 respectively? Is there somewhere I could do more reading about priorities and such?

Thanks

scheduling priorities

On Mar 08, 2015, at 23:36, erick [dot] arce10 [..] ... wrote:

> Hi all,
>
> I had a brief question regarding scheduling priority of threads. Reading the
> component builder's manual I see some examples with thread priority of 0 some
> with 5 and one with 99. What is the highest and lowest priority of threads,
> is it 99 and 0 respectively? Is there somewhere I could do more reading about
> priorities and such?

Depends on the operating system. Linux is 0-99, higher is more important. OS X is 0-63 (IIRC), higher is more important. No idea on Windoze.

HTH
Stephen

scheduling priorities

2015-03-10 0:20 GMT+01:00 S Roderick <kiwi [dot] net [..] ...>:

> On Mar 08, 2015, at 23:36, erick [dot] arce10 [..] ... wrote:
>
> > Hi all,
> >
> > I had a brief question regarding scheduling priority of threads. Reading
> the
> > component builder's manual I see some examples with thread priority of 0
> some
> > with 5 and one with 99. What is the highest and lowest priority of
> threads,
> > is it 99 and 0 respectively? Is there somewhere I could do more reading
> about
> > priorities and such?
>
> Depends on the operating system. Linux is 0-99, higher is more important.
> OS X is 0-63 (IIRC), higher is more important. No idea on Windoze.
>
>
Note the you have to choose the RT_SCHED type of scheduling, RT_OTHER will
only use priorities of 0.

> HTH
> Stephen
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>