Commit 551e096
Fix kernel panic in semaphore test
Discovered that the semaphore test task caused a "no ready tasks" kernel
panic due to 'mo_task_delay(10000)' keeping the task asleep too long.
Replaced it with mo_task_wfi() in semaphore_test_task to keep the task
runnable, ensuring the scheduler always has a task to run and preventing
the panic.1 parent 43cca97 commit 551e096
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
0 commit comments