forked from Imagelibrary/rtems
Added comment to make sure Classic API priority to Core priority
is added in the future.
This commit is contained in:
@@ -83,6 +83,7 @@ rtems_status_code rtems_task_set_priority(
|
|||||||
return RTEMS_INVALID_ID;
|
return RTEMS_INVALID_ID;
|
||||||
|
|
||||||
case OBJECTS_LOCAL:
|
case OBJECTS_LOCAL:
|
||||||
|
/* XXX convert from core priority */
|
||||||
*old_priority = the_thread->current_priority;
|
*old_priority = the_thread->current_priority;
|
||||||
if ( new_priority != RTEMS_CURRENT_PRIORITY ) {
|
if ( new_priority != RTEMS_CURRENT_PRIORITY ) {
|
||||||
the_thread->real_priority = new_priority;
|
the_thread->real_priority = new_priority;
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ rtems_status_code rtems_task_set_priority(
|
|||||||
return RTEMS_INVALID_ID;
|
return RTEMS_INVALID_ID;
|
||||||
|
|
||||||
case OBJECTS_LOCAL:
|
case OBJECTS_LOCAL:
|
||||||
|
/* XXX convert from core priority */
|
||||||
*old_priority = the_thread->current_priority;
|
*old_priority = the_thread->current_priority;
|
||||||
if ( new_priority != RTEMS_CURRENT_PRIORITY ) {
|
if ( new_priority != RTEMS_CURRENT_PRIORITY ) {
|
||||||
the_thread->real_priority = new_priority;
|
the_thread->real_priority = new_priority;
|
||||||
|
|||||||
Reference in New Issue
Block a user