added comments to priority.h to document the definition of posix priority

and how it corresponds to rtems core priority.

Schedule was renamed schedparam
This commit is contained in:
Joel Sherrill
1996-06-05 14:43:52 +00:00
parent 2c207d1f84
commit 09c1e31dc3
6 changed files with 18 additions and 6 deletions

View File

@@ -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)

View File

@@ -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
/*

View File

@@ -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)

View File

@@ -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
/*