Ignore:
Timestamp:
Jun 11, 2014, 9:03:25 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
647b95d
Parents:
92635cb
git-author:
Sebastian Huber <sebastian.huber@…> (06/11/14 09:03:25)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/23/14 07:13:00)
Message:

score: Collect scheduler related fields in TCB

Add Thread_Scheduler_control to collect scheduler related fields of the
TCB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/schedulerimpl.h

    r92635cb r2d36931  
    4848{
    4949#if defined(RTEMS_SMP)
    50   return the_thread->scheduler;
     50  return the_thread->Scheduler.control;
    5151#else
    5252  (void) the_thread;
     
    376376    _Thread_Set_state( the_thread, STATES_MIGRATING );
    377377    _Scheduler_Node_destroy( current_scheduler, the_thread );
    378     the_thread->scheduler = scheduler;
     378    the_thread->Scheduler.control = scheduler;
    379379    _Scheduler_Node_initialize( scheduler, the_thread );
    380380    _Scheduler_Update_priority( the_thread, the_thread->current_priority );
     
    650650)
    651651{
    652   return the_thread->scheduler_node;
     652  return the_thread->Scheduler.node;
    653653}
    654654
Note: See TracChangeset for help on using the changeset viewer.