Changeset 7979e35 in rtems for cpukit/score/src/thread.c


Ignore:
Timestamp:
Jun 4, 1995, 10:43:19 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e8512eb
Parents:
7c22114b
Message:

changed release number to 3.2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/thread.c

    r7c22114b r7979e35  
    589589  executing = _Thread_Executing;
    590590
    591   _Thread_Dispatch_disable_level = 0;
    592 
    593591  /*
    594    * Do the 'begin' here instead of after the context switch.
    595    * This ensures 'switch' extensions can not be called before
    596    * 'begin' extensions.
     592   * Take care that 'begin' extensions get to complete before
     593   * 'switch' extensions can run.  This means must keep dispatch
     594   * disabled until all 'begin' extensions complete.
    597595   */
    598 
     596 
    599597  _User_extensions_Task_begin( executing );
    600 
    601   if ( _Thread_Is_context_switch_necessary() )
    602     _Thread_Dispatch();
    603 
     598 
     599  /*
     600   *  At this point, the dispatch disable level BETTER be 1.
     601   */
     602
     603  _Thread_Enable_dispatch();
     604 
    604605  (*executing->Start.entry_point)( executing->Start.initial_argument );
    605606
Note: See TracChangeset for help on using the changeset viewer.