Checkpoint

This commit is contained in:
Nathan Sobo 2023-11-01 14:00:26 -06:00
parent 11b6d9e33a
commit 3f34a8e7ec
4 changed files with 14 additions and 31 deletions

View file

@ -102,7 +102,7 @@ impl BackgroundExecutor {
match future.as_mut().poll(&mut cx) {
Poll::Ready(result) => return result,
Poll::Pending => {
if !self.dispatcher.poll() {
if !self.dispatcher.poll(true) {
if awoken.swap(false, SeqCst) {
continue;
}