Changeset 94b3ec59 in rtems for cpukit/score/inline


Ignore:
Timestamp:
Feb 13, 1996, 10:14:48 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
da646dd
Parents:
6ca1184
Message:

changed post task extension from user set to api set and added flag
in each thread which must be set when the post switch extension is to be run.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/inline/rtems/score/userext.inl

    r6ca1184 r94b3ec59  
    100100}
    101101
    102 /*PAGE
    103  *
    104  *  _User_extensions_Thread_post_switch
    105  *
    106  */
    107  
    108 STATIC INLINE void _User_extensions_Thread_post_switch (
    109   Thread_Control *executing
    110 )
    111 {
    112   Chain_Node              *the_node;
    113   User_extensions_Control *the_extension;
    114  
    115   for ( the_node = _User_extensions_List.first ;
    116         !_Chain_Is_tail( &_User_extensions_List, the_node ) ;
    117         the_node = the_node->next ) {
    118  
    119     the_extension = (User_extensions_Control *) the_node;
    120  
    121     if ( the_extension->Callouts.thread_post_switch != NULL )
    122       (*the_extension->Callouts.thread_post_switch)( executing );
    123   }
    124 }
    125 
    126102#endif
    127103/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.