We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3000bdc commit 90422c2Copy full SHA for 90422c2
src/aero_kernel/src/userland/scheduler/round_robin.rs
@@ -181,15 +181,16 @@ impl RoundRobin {
181
queue.preempt_task.arch_task_mut(),
182
current.arch_task(),
183
);
184
+ return;
185
}
- } else {
186
- queue.current_task = None;
187
- core::mem::drop(guard);
188
- arch::task::arch_task_spinup(
189
- queue.preempt_task.arch_task_mut(),
190
- queue.idle_task.arch_task(),
191
- );
192
+
+ queue.current_task = None;
+ core::mem::drop(guard);
+ arch::task::arch_task_spinup(
+ queue.preempt_task.arch_task_mut(),
+ queue.idle_task.arch_task(),
193
+ );
194
195
196
0 commit comments