diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-05 14:43:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-05 14:43:52 +0000 |
commit | 09c1e31dc3e9d4ceb19ac522e906d32f6f820d44 (patch) | |
tree | 22d89f6fae0b4268ddf53d347297c3e7dc027029 /c/src/exec/posix/include | |
parent | make PTHREAD_SCOPE_SYSTEM an unsupported value for contentionscope. (diff) | |
download | rtems-09c1e31dc3e9d4ceb19ac522e906d32f6f820d44.tar.bz2 |
added comments to priority.h to document the definition of posix priority
and how it corresponds to rtems core priority.
Schedule was renamed schedparam
Diffstat (limited to 'c/src/exec/posix/include')
-rw-r--r-- | c/src/exec/posix/include/rtems/posix/priority.h | 6 | ||||
-rw-r--r-- | c/src/exec/posix/include/rtems/posix/threadsup.h | 2 |
2 files changed, 6 insertions, 2 deletions
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/score/priority.h> /* - * 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 /* |