Changeset c5831a3f in rtems for cpukit/score/src/threadcreateidle.c
- Timestamp:
- 04/09/14 13:07:54 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 509040f0
- Parents:
- 27270b0d
- git-author:
- Sebastian Huber <sebastian.huber@…> (04/09/14 13:07:54)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (04/15/14 08:41:44)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/src/threadcreateidle.c
r27270b0d rc5831a3f 20 20 21 21 #include <rtems/score/threadimpl.h> 22 #include <rtems/score/schedulerimpl.h> 22 23 #include <rtems/score/stackimpl.h> 23 24 #include <rtems/config.h> … … 40 41 &_Thread_Internal_information, 41 42 idle, 43 _Scheduler_Get_by_CPU( per_cpu ), 42 44 NULL, /* allocate the stack */ 43 45 _Stack_Ensure_minimum( rtems_configuration_get_idle_task_stack_size() ), … … 76 78 Per_CPU_Control *per_cpu = _Per_CPU_Get_by_index( processor ); 77 79 78 _Thread_Create_idle_for_cpu( per_cpu ); 80 if ( _Per_CPU_Is_processor_started( per_cpu ) ) { 81 _Thread_Create_idle_for_cpu( per_cpu ); 82 } 79 83 } 80 84 }
Note: See TracChangeset
for help on using the changeset viewer.