qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC] [PATCHv8 12/30] aio / timers: aio_ctx_prepare set


From: Alex Bligh
Subject: Re: [Qemu-devel] [RFC] [PATCHv8 12/30] aio / timers: aio_ctx_prepare sets timeout from AioContext timers
Date: Fri, 9 Aug 2013 15:30:10 +0100

On 9 Aug 2013, at 11:04, Paolo Bonzini 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);
> 
> Again, if we do the "two AioContext" tricks, the
> timerlistgroup_deadline_ns function would be internal to AioContext.

I don't think that's true as I think we'd still want to encapsulate
walking the array of clocks within qemu-timer.c.

-- 
Alex Bligh







reply via email to

[Prev in Thread] Current Thread [Next in Thread]