mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-23 18:06:20 +04:00
Allow sleeping processes that are awoken to immediately execute.
This commit is contained in:
parent
60edb9f72a
commit
fd9c9449b0
@ -32,6 +32,8 @@ pub fn schedule() -> usize {
|
||||
// the past.
|
||||
if prc.get_sleep_until() <= get_mtime() {
|
||||
prc.set_state(ProcessState::Running);
|
||||
frame_addr = prc.get_frame_address();
|
||||
break 'procfindloop;
|
||||
}
|
||||
},
|
||||
_ => {},
|
||||
|
Loading…
Reference in New Issue
Block a user