From 09c1e31dc3e9d4ceb19ac522e906d32f6f820d44 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Jun 1996 14:43:52 +0000 Subject: added comments to priority.h to document the definition of posix priority and how it corresponds to rtems core priority. Schedule was renamed schedparam --- c/src/exec/posix/include/rtems/posix/priority.h | 6 +++++- c/src/exec/posix/include/rtems/posix/threadsup.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'c/src/exec/posix/include') diff --git a/c/src/exec/posix/include/rtems/posix/priority.h b/c/src/exec/posix/include/rtems/posix/priority.h index f4cb717b7c..1417c98589 100644 --- a/c/src/exec/posix/include/rtems/posix/priority.h +++ b/c/src/exec/posix/include/rtems/posix/priority.h @@ -10,7 +10,11 @@ #include /* - * RTEMS Core has priorities run in the opposite sense of the POSIX API. + * 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. */ #define POSIX_SCHEDULER_MAXIMUM_PRIORITY (255) diff --git a/c/src/exec/posix/include/rtems/posix/threadsup.h b/c/src/exec/posix/include/rtems/posix/threadsup.h index ba126bbb78..195fd1a5da 100644 --- a/c/src/exec/posix/include/rtems/posix/threadsup.h +++ b/c/src/exec/posix/include/rtems/posix/threadsup.h @@ -14,7 +14,7 @@ typedef struct { int detachstate; Thread_queue_Control Join_List; int schedpolicy; - struct sched_param Schedule; + struct sched_param schedparam; #if 0 /* -- cgit v1.2.3