diff options
Diffstat (limited to 'cpukit/score/src/threadsetpriority.c')
-rw-r--r-- | cpukit/score/src/threadsetpriority.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/src/threadsetpriority.c b/cpukit/score/src/threadsetpriority.c index e1286480a4..455cf20af2 100644 --- a/cpukit/score/src/threadsetpriority.c +++ b/cpukit/score/src/threadsetpriority.c @@ -28,5 +28,9 @@ void _Thread_Set_priority( { the_thread->current_priority = new_priority; - _Scheduler_Update( _Scheduler_Get( the_thread ), the_thread ); + _Scheduler_Update_priority( + _Scheduler_Get( the_thread), + the_thread, + new_priority + ); } |