File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/aero_kernel/src/userland/scheduler Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -261,11 +261,10 @@ impl SchedulerInterface for RoundRobin {
261
261
fn preempt ( & self ) {
262
262
// We want to preempt under the following circumstances:
263
263
//
264
- // 1. When a process switches from the running state to the waiting
265
- // state.
264
+ // 1. When a process switches from the running state to the waiting state.
266
265
// 2. When the timer interrupt fires.
267
- // 3. When the process switches from the waiting state to the runnable state
268
- // (for example, on completion of I/O operation).
266
+ // 3. When the process switches from the waiting state to the runnable state (for example,
267
+ // on completion of I/O operation).
269
268
// 4. When the process is terminated.
270
269
271
270
let guard = IrqGuard :: new ( ) ;
You can’t perform that action at this time.
0 commit comments