[PATCH] cpukit: Merge FreeBSD values for the priorities

Chris Johns chrisj at rtems.org
Sun Dec 27 01:20:20 UTC 2020


On 24/12/20 9:20 am, Joel Sherrill wrote:
> This looks ok if these priorities are mapped to Classic or Score. POSIX thread
> priorities run opposite.

The priorities I have added in are replacing are all 0 ...

>     -/* Dummy values to make the libbsd happy */
>     -#define        PRI_MAX_ITHD            0
>     -#define        PI_NET                  0
>     -#define        PI_DISK                 0
>     -#define        PI_SOFT                 0
>     -#define        PI_SWI(x)               0
>     -#define        PRI_MIN_KERN            0
>     -#define        PVM                     0
>     -#define        PRIBIO                  0
>     -#define        PZERO                   0
>     -#define        PSOCK                   0
>     -#define        PWAIT                   0
>     -#define        PPAUSE                  0
>     +#define _SYS_PRIORITY_H_

... so as a result I have not looked any further. I am not sure they relate to
the Classic API or POSIX priority levels.

Chris


More information about the devel mailing list