Changeset a9bc7a5 in rtems


Ignore:
Timestamp:
Feb 14, 2020, 8:34:03 AM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
9bdb6aa3
Parents:
9520ec3
git-author:
Sebastian Huber <sebastian.huber@…> (02/14/20 08:34:03)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/25/20 06:15:18)
Message:

rtems: Simplify _RTEMS_tasks_Initialize_user_task()

Due to the system initialization order, the _Thread_Global_constructor
must be 0 in this function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/taskinitusers.c

    r9520ec3 ra9bc7a5  
    5757  (void) return_value;
    5858
    59   if ( _Thread_Global_constructor == 0 ) {
    60     _Thread_Global_constructor = id;
    61   }
     59  _Assert( _Thread_Global_constructor == 0 );
     60  _Thread_Global_constructor = id;
    6261}
Note: See TracChangeset for help on using the changeset viewer.