mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Added a comment to indicate that if a task blocked on a priority
based thread queue were to be reinserted based on its new priority, this is where the logic would go.
This commit is contained in:
@@ -88,6 +88,11 @@ void _Thread_Change_priority(
|
||||
_States_Clear( STATES_TRANSIENT, the_thread->current_state );
|
||||
|
||||
if ( ! _States_Is_ready( the_thread->current_state ) ) {
|
||||
/*
|
||||
* XXX If a task is to be reordered while blocked on a priority
|
||||
* XXX priority ordered thread queue, then this is where that
|
||||
* XXX should occur.
|
||||
*/
|
||||
_ISR_Enable( level );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -88,6 +88,11 @@ void _Thread_Change_priority(
|
||||
_States_Clear( STATES_TRANSIENT, the_thread->current_state );
|
||||
|
||||
if ( ! _States_Is_ready( the_thread->current_state ) ) {
|
||||
/*
|
||||
* XXX If a task is to be reordered while blocked on a priority
|
||||
* XXX priority ordered thread queue, then this is where that
|
||||
* XXX should occur.
|
||||
*/
|
||||
_ISR_Enable( level );
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user