summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/posix/headers/priority.h6
-rw-r--r--c/src/exec/posix/headers/threadsup.h2
-rw-r--r--c/src/exec/posix/include/rtems/posix/priority.h6
-rw-r--r--c/src/exec/posix/include/rtems/posix/threadsup.h2
-rw-r--r--cpukit/posix/include/rtems/posix/priority.h6
-rw-r--r--cpukit/posix/include/rtems/posix/threadsup.h2
6 files changed, 18 insertions, 6 deletions
diff --git a/c/src/exec/posix/headers/priority.h b/c/src/exec/posix/headers/priority.h
index f4cb717b7c..1417c98589 100644
--- a/c/src/exec/posix/headers/priority.h
+++ b/c/src/exec/posix/headers/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/headers/threadsup.h b/c/src/exec/posix/headers/threadsup.h
index ba126bbb78..195fd1a5da 100644
--- a/c/src/exec/posix/headers/threadsup.h
+++ b/c/src/exec/posix/headers/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
/*
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
/*
diff --git a/cpukit/posix/include/rtems/posix/priority.h b/cpukit/posix/include/rtems/posix/priority.h
index f4cb717b7c..1417c98589 100644
--- a/cpukit/posix/include/rtems/posix/priority.h
+++ b/cpukit/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/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h
index ba126bbb78..195fd1a5da 100644
--- a/cpukit/posix/include/rtems/posix/threadsup.h
+++ b/cpukit/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
/*