Commit eeeeea8
committed
Add dequeuing ready queue path in mo_task_delay()
Previously, mo_task_delay() only set TASK_BLOCKED and updated
delayed ticks. In the new ready-queue-based scheduler, delayed
tasks must also be removed from the ready queue.
This change calls sched_dequeue_task() in mo_task_delay() so
that the task is properly dequeued from its priority ready
queue when it is delayed.1 parent 890ae05 commit eeeeea8
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
| 755 | + | |
| 756 | + | |
756 | 757 | | |
757 | 758 | | |
758 | 759 | | |
759 | 760 | | |
| 761 | + | |
760 | 762 | | |
761 | 763 | | |
762 | 764 | | |
| |||
0 commit comments