wip: move from recursive to iterative
This commit is contained in:
1 parent
f41cff571f
commit
9652ccdcf1
4 files changed
+2173
-29
No files matched your search
@@ -285,7 +285,8 @@ impl Scheduler {
|
||||
let mut is_ready = || -> bool { (&mut deadline).now_or_never().is_some() };
|
||||
|
||||
// TODO: remove this unwrap - proprogate errors out
|
||||
self.get_current_fiber().work(is_ready).unwrap()
|
||||
// self.get_current_fiber().work(is_ready).unwrap()
|
||||
todo!()
|
||||
}
|
||||
|
||||
// waits for a trigger, canceling early if the deadline is reached
|
||||
|
||||
Reference in new issue
Block a user