diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/threadinitialize.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c index 229d68bf74..10dbf02dfc 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -200,11 +200,9 @@ bool _Thread_Initialize( RTEMS_STATIC_ASSERT( THREAD_WAIT_FLAGS_INITIAL == 0, Wait_flags ); - _Scheduler_Node_initialize( scheduler, the_thread ); + _Scheduler_Node_initialize( scheduler, the_thread, priority ); scheduler_node_initialized = true; - _Scheduler_Update_priority( the_thread, priority ); - /* POSIX Keys */ _RBTree_Initialize_empty( &the_thread->Keys.Key_value_pairs ); _ISR_lock_Initialize( &the_thread->Keys.Lock, "POSIX Key Value Pairs" ); |