diff options
Diffstat (limited to 'cpukit/score/src/threadchangepriority.c')
-rw-r--r-- | cpukit/score/src/threadchangepriority.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/src/threadchangepriority.c b/cpukit/score/src/threadchangepriority.c index d109dd9ec6..c3dc3ffa80 100644 --- a/cpukit/score/src/threadchangepriority.c +++ b/cpukit/score/src/threadchangepriority.c @@ -88,8 +88,10 @@ void _Thread_Change_priority( * Do not bother recomputing all the priority related information if * we are not REALLY changing priority. */ - if ( the_thread->Priority_node.current_priority != new_priority ) + if ( the_thread->Priority_node.current_priority != new_priority ) { _Thread_Set_priority( the_thread, new_priority ); + _Thread_Requeue_priority_node( the_thread ); + } _ISR_Disable( level ); |