On Tue, Aug 06, 2013 at 10:16:26AM +0100, Alex Bligh wrote: > @@ -180,7 +189,7 @@ aio_ctx_check(GSource *source) > return true; > } > } > - return aio_pending(ctx); > + return aio_pending(ctx) || (timerlistgroup_deadline_ns(ctx->tlg) >= 0);
Now we always dispatch if there is a timer? Should this comparison be timerlistgroup_deadline_ns(ctx->tlg) == 0 instead to only dispatch expired timers? Stefan