forked from Imagelibrary/rtems
posix: Delete POSIX_API_Control::ss_high_priority
This field was unused.
This commit is contained in:
@@ -51,11 +51,6 @@ typedef struct {
|
|||||||
int schedpolicy;
|
int schedpolicy;
|
||||||
/** This is the thread's current set of scheduling parameters. */
|
/** This is the thread's current set of scheduling parameters. */
|
||||||
struct sched_param schedparam;
|
struct sched_param schedparam;
|
||||||
/**
|
|
||||||
* This is the high priority to execute at when using the sporadic
|
|
||||||
* scheduler.
|
|
||||||
*/
|
|
||||||
int ss_high_priority;
|
|
||||||
/**
|
/**
|
||||||
* This is the timer which controls when the thread executes at
|
* This is the timer which controls when the thread executes at
|
||||||
* high and low priority when using the sporadic scheduler.
|
* high and low priority when using the sporadic scheduler.
|
||||||
|
|||||||
@@ -100,10 +100,6 @@ int pthread_setschedparam(
|
|||||||
rtems_configuration_get_ticks_per_timeslice();
|
rtems_configuration_get_ticks_per_timeslice();
|
||||||
new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
|
new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SCHED_SPORADIC:
|
|
||||||
api->ss_high_priority = api->schedparam.sched_priority;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_Thread_State_release( the_thread, &lock_context );
|
_Thread_State_release( the_thread, &lock_context );
|
||||||
|
|||||||
Reference in New Issue
Block a user