Changeset 333f9426 in rtems
- Timestamp:
- 07/10/14 10:49:43 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 27783f6
- Parents:
- 76ad756c
- git-author:
- Sebastian Huber <sebastian.huber@…> (07/10/14 10:49:43)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (07/10/14 13:29:57)
- Location:
- cpukit/score
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/include/rtems/score/schedulerpriorityimpl.h
r76ad756c r333f9426 162 162 { 163 163 Priority_Control index = _Priority_bit_map_Get_highest( bit_map ); 164 165 return _Chain_First( &ready_queues[ index ] ); 164 Chain_Node *first = _Chain_First( &ready_queues[ index ] ); 165 166 _Assert( first != _Chain_Tail( &ready_queues[ index ] ) ); 167 168 return first; 166 169 } 167 170 -
cpukit/score/include/rtems/score/schedulersmpimpl.h
r76ad756c r333f9426 679 679 Scheduler_Node *highest_ready = ( *get_highest_ready )( context, node ); 680 680 681 _Assert( highest_ready != NULL );682 683 681 /* 684 682 * The node has been extracted from the scheduled chain. We have to place … … 761 759 while ( true ) { 762 760 Scheduler_Node *highest_ready = ( *get_highest_ready )( context, victim ); 763 764 _Assert( highest_ready != NULL );765 761 766 762 if ( -
cpukit/score/src/schedulersimplesmp.c
r76ad756c r333f9426 85 85 Scheduler_simple_SMP_Context *self = 86 86 _Scheduler_simple_SMP_Get_self( context ); 87 Scheduler_Node *first = (Scheduler_Node *) _Chain_First( &self->Ready ); 87 88 88 89 (void) node; 89 90 90 return (Scheduler_Node *) _Chain_First( &self->Ready ); 91 _Assert( &first->Node != _Chain_Tail( &self->Ready ) ); 92 93 return first; 91 94 } 92 95
Note: See TracChangeset
for help on using the changeset viewer.