Changeset 40f2eaf in rtems


Ignore:
Timestamp:
May 21, 2014, 6:30:25 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
884a6c59
Parents:
e5274df
Message:

score: Simplify _Scheduler_Set()

File:
1 edited

Legend:

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

    re5274df r40f2eaf  
    355355  if ( current_scheduler != scheduler ) {
    356356    _Thread_Set_state( the_thread, STATES_MIGRATING );
    357     _Scheduler_Free( _Scheduler_Get( the_thread ), the_thread );
     357    _Scheduler_Free( current_scheduler, the_thread );
    358358    the_thread->scheduler = scheduler;
    359359    _Scheduler_Allocate( scheduler, the_thread );
Note: See TracChangeset for help on using the changeset viewer.