Checkpoint
This commit is contained in:
parent
11b6d9e33a
commit
3f34a8e7ec
4 changed files with 14 additions and 31 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue