added comments to to document the definition of posix priority

and how it corresponds to rtems core priority.
This commit is contained in:
Joel Sherrill
1996-06-05 14:44:03 +00:00
parent 09c1e31dc3
commit 7189a40297
3 changed files with 24 additions and 0 deletions

View File

@@ -5,6 +5,14 @@
#ifndef __RTEMS_POSIX_PRIORITY_inl
#define __RTEMS_POSIX_PRIORITY_inl
/*
* 1003.1b-1993,2.2.2.80 definition of priority, p. 19
*
* "Numericallly higher values represent higher priorities."
*
* Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API.
*/
STATIC INLINE boolean _POSIX_Priority_Is_valid(
int priority
)

View File

@@ -5,6 +5,14 @@
#ifndef __RTEMS_POSIX_PRIORITY_inl
#define __RTEMS_POSIX_PRIORITY_inl
/*
* 1003.1b-1993,2.2.2.80 definition of priority, p. 19
*
* "Numericallly higher values represent higher priorities."
*
* Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API.
*/
STATIC INLINE boolean _POSIX_Priority_Is_valid(
int priority
)

View File

@@ -5,6 +5,14 @@
#ifndef __RTEMS_POSIX_PRIORITY_inl
#define __RTEMS_POSIX_PRIORITY_inl
/*
* 1003.1b-1993,2.2.2.80 definition of priority, p. 19
*
* "Numericallly higher values represent higher priorities."
*
* Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API.
*/
STATIC INLINE boolean _POSIX_Priority_Is_valid(
int priority
)