wip: move from recursive to iterative

This commit is contained in:
Jonathan Kelley committed 2021-08-19 02:50:35 -04:00
1 parent f41cff571f
commit 9652ccdcf1
4 files changed
+2173 -29

No files matched your search

+2 -1
View File
@@ -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