Changeset 842394f in rtems
- Timestamp:
- 09/09/11 11:25:23 (11 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 1a6ab4e
- Parents:
- fd1661f2
- Location:
- cpukit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
rfd1661f2 r842394f 1 2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de> 2 3 PR 1901/cpukit 4 * score/src/threadhandler.c: Do not use internal tasks for global 5 initialization in MP configuration. 6 1 7 2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de> 2 8 -
cpukit/score/src/threadhandler.c
rfd1661f2 r842394f 90 90 Thread_Control *executing; 91 91 #if defined(EXECUTE_GLOBAL_CONSTRUCTORS) 92 static chardoneConstructors;93 char doneCons;92 static bool doneConstructors; 93 bool doCons; 94 94 #endif 95 95 … … 111 111 112 112 #if defined(EXECUTE_GLOBAL_CONSTRUCTORS) 113 doneCons = doneConstructors; 114 doneConstructors = 1; 113 #if defined(RTEMS_MULTIPROCESSING) 114 doCons = !doneConstructors 115 && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API; 116 if (doCons) 117 doneConstructors = true; 118 #else 119 doCons = !doneConstructors; 120 doneConstructors = true; 121 #endif 115 122 #endif 116 123 … … 144 151 * RTEMS target configuration. --joel (12 May 2007) 145 152 */ 146 if ( !doneCons) /* && (volatile void *)_init) */ {153 if (doCons) /* && (volatile void *)_init) */ { 147 154 INIT_NAME (); 148 155
Note: See TracChangeset
for help on using the changeset viewer.