From 32441ab768da63205d0b1a8b4167099d615486fc Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 2 Nov 1999 16:00:37 +0000 Subject: 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. --- cpukit/score/src/threadchangepriority.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit/score') 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; } -- cgit v1.2.3