提交 d397ec99 编写于 作者: P Paolo Bonzini 提交者: Stefan Hajnoczi

aio-win32: Evaluate timers after handles

This is similar to what aio_poll does in the stand-alone case.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 845ca10d
......@@ -109,9 +109,6 @@ bool aio_poll(AioContext *ctx, bool blocking)
progress = true;
}
/* Run timers */
progress |= timerlistgroup_run_timers(&ctx->tlg);
/*
* Then dispatch any pending callbacks from the GSource.
*
......@@ -145,6 +142,9 @@ bool aio_poll(AioContext *ctx, bool blocking)
}
}
/* Run timers */
progress |= timerlistgroup_run_timers(&ctx->tlg);
if (progress && !blocking) {
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册