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 {
261261 fn preempt ( & self ) {
262262 // We want to preempt under the following circumstances:
263263 //
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.
266265 // 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).
269268 // 4. When the process is terminated.
270269
271270 let guard = IrqGuard :: new ( ) ;
You can’t perform that action at this time.
0 commit comments