summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 16:00:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 16:00:37 +0000
commit32441ab768da63205d0b1a8b4167099d615486fc (patch)
treea32794911cb6a0f7f6ec8547af98a6f2b1ae026b /cpukit/score
parentAdded code to allocate by index. This is the object ID style used (diff)
downloadrtems-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.c5
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;
}