Changeset 5b87515d in rtems for c/src/exec/score/src/threadhandler.c
- Timestamp:
- 09/27/01 13:33:52 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- a8b2523
- Parents:
- 1ef8e3d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/src/threadhandler.c
r1ef8e3d4 r5b87515d 59 59 ISR_Level level; 60 60 Thread_Control *executing; 61 #ifdef USE_INIT_FINI 62 static char doneConstructors; 63 char doneCons; 64 #endif 61 65 62 66 executing = _Thread_Executing; … … 69 73 level = executing->Start.isr_level; 70 74 _ISR_Set_level(level); 75 76 #ifdef USE_INIT_FINI 77 doneCons = doneConstructors; 78 doneConstructors = 1; 79 #endif 71 80 72 81 /* … … 83 92 84 93 _Thread_Enable_dispatch(); 94 #ifdef USE_INIT_FINI 95 if (!doneCons) 96 _init (); 97 #endif 85 98 86 99 switch ( executing->Start.prototype ) {
Note: See TracChangeset
for help on using the changeset viewer.