Changeset 17ce103 in rtems


Ignore:
Timestamp:
Jun 5, 2013, 10:00:02 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
dcb4daf8
Parents:
62da44e
git-author:
Sebastian Huber <sebastian.huber@…> (06/05/13 10:00:02)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/07/13 15:02:25)
Message:

score: Simplify _Thread_Create_idle_helper()

The _Thread_Initialize() function has nothing to do with thread
dispatching it simply initializes the thread control.

File:
1 edited

Legend:

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

    r62da44e r17ce103  
    5555  idle = _Thread_Internal_allocate();
    5656
    57   /*
    58    *  This is only called during initialization and we better be sure
    59    *  that when _Thread_Initialize unnests dispatch that we do not
    60    *  do anything stupid.
    61    */
    62   _Thread_Disable_dispatch();
    63 
    6457  _Thread_Initialize(
    6558    &_Thread_Internal_information,
     
    7568    name
    7669  );
    77 
    78   _Thread_Unnest_dispatch();
    7970
    8071  /*
Note: See TracChangeset for help on using the changeset viewer.