Changes in kernel/generic/src/main/kinit.c [19f857a:9dae191e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
r19f857a r9dae191e 67 67 #include <debug.h> 68 68 #include <str.h> 69 #include <sysinfo/stats.h> 69 70 70 71 #ifdef CONFIG_SMP … … 122 123 } else 123 124 panic("Unable to create kmp thread."); 125 124 126 thread_join(thread); 125 127 thread_detach(thread); … … 149 151 */ 150 152 arch_post_smp_init(); 153 154 /* Start thread computing system load */ 155 thread = thread_create(kload, NULL, TASK, 0, "kload", false); 156 if (thread != NULL) 157 thread_ready(thread); 158 else 159 printf("Unable to create kload thread\n"); 151 160 152 161 #ifdef CONFIG_KCONSOLE
Note:
See TracChangeset
for help on using the changeset viewer.