forked from Imagelibrary/rtems
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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
/*
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user