mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +00:00
Unbreak sys$sigreturn() after colonel process changes.
This commit is contained in:
parent
43f40a3050
commit
f792349853
3 changed files with 9 additions and 8 deletions
|
@ -56,12 +56,12 @@ bool Scheduler::pick_next()
|
|||
return true;
|
||||
}
|
||||
|
||||
if (process.state() == Process::ExecPhase1) {
|
||||
process.set_state(Process::ExecPhase2);
|
||||
if (process.state() == Process::Skip1SchedulerPass) {
|
||||
process.set_state(Process::Skip0SchedulerPasses);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (process.state() == Process::ExecPhase2) {
|
||||
if (process.state() == Process::Skip0SchedulerPasses) {
|
||||
process.set_state(Process::Runnable);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue