diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-02 16:00:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-02 16:00:37 +0000 |
commit | 32441ab768da63205d0b1a8b4167099d615486fc (patch) | |
tree | a32794911cb6a0f7f6ec8547af98a6f2b1ae026b /cpukit/score | |
parent | Added code to allocate by index. This is the object ID style used (diff) | |
download | rtems-32441ab768da63205d0b1a8b4167099d615486fc.tar.bz2 |
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.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/src/threadchangepriority.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/src/threadchangepriority.c b/cpukit/score/src/threadchangepriority.c index 9a0e6936a2..b8b76ea235 100644 --- a/cpukit/score/src/threadchangepriority.c +++ b/cpukit/score/src/threadchangepriority.c @@ -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; } |