Rev 3987 | Rev 4012 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3987 | Rev 3995 | ||
|---|---|---|---|
| Line 200... | Line 200... | ||
| 200 | printf("Init binary %" PRIc " not used (error %d)\n", i, rd); |
200 | printf("Init binary %" PRIc " not used (error %d)\n", i, rd); |
| 201 | } |
201 | } |
| 202 | } |
202 | } |
| 203 | 203 | ||
| 204 | /* |
204 | /* |
| 205 | * Run user tasks with reasonable delays |
205 | * Run user tasks with small delays |
| - | 206 | * to avoid intermixed klog output. |
|
| - | 207 | * |
|
| - | 208 | * TODO: This certainly does not guarantee |
|
| - | 209 | * anything, it just works in most of the |
|
| - | 210 | * cases. Some better way how to achieve |
|
| - | 211 | * nice klog output should be found. |
|
| 206 | */ |
212 | */ |
| 207 | for (i = 0; i < init.cnt; i++) { |
213 | for (i = 0; i < init.cnt; i++) { |
| 208 | if (programs[i].task != NULL) { |
214 | if (programs[i].task != NULL) { |
| 209 | thread_usleep(50000); |
- | |
| 210 | program_ready(&programs[i]); |
215 | program_ready(&programs[i]); |
| - | 216 | thread_usleep(10000); |
|
| 211 | } |
217 | } |
| 212 | } |
218 | } |
| 213 | 219 | ||
| 214 | #ifdef CONFIG_KCONSOLE |
220 | #ifdef CONFIG_KCONSOLE |
| 215 | if (!stdin) { |
221 | if (!stdin) { |