POSIX vs RTEMS Classic Scheduling Priorities
rtwas at comcast.net
Sat Feb 13 06:54:56 UTC 2010
I'm developing an app that uses both Rtems-Classic Tasks and Posix Threads.
The priority systems are somewhat different. Rtems has a priority numbering
system running from 0-255 with the smaller number being higher in priority.
Posix on the other hand uses larger numbers to represent higher priorities.
The exact span of of Posix appears to be implementation specific (linux
To properly schedule my threads I'll need to adjust the priorities of
Rtems (networking etc) tasks and my main pthread such that the main
the higher priority. To do that I'll need to know how to relate the two
schemes (so I can pick the right priority numbers for each priority
assumption is that they can both be viewed as number-lines and that with
scaling and offsets the two priority number-lines can be correlated.
the docs I have been unable to locate any information that would pin
down how to
relate the two priority systems.
More information about the users