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:
Joel Sherrill
1999-11-02 16:00:37 +00:00
parent 2cd54440b1
commit 32441ab768
2 changed files with 10 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -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;
}