qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Question about aio_poll and glib aio_ctx_dispatch


From: Li Qiang
Subject: Re: [Qemu-devel] Question about aio_poll and glib aio_ctx_dispatch
Date: Wed, 19 Dec 2018 18:05:52 +0800

Sent it to qemu-devel.

Li Qiang <address@hidden> 于2018年12月19日周三 下午6:04写道:

> Hello Paolo, Stefan, Fam and all,
>
> Here I have a question about 'aio_poll'.
> IIUC the 'aio_poll' is (mostly) used for synchronous IO
> as I see a lot of code like this:
> while(condition)
>  aio_poll();
>
> However it seems the 'aio_poll' and 'aio_ctx_dispatch' both poll the fd.
> So what happened when the 'fd' has events, which function will be wakeup?
>
> Thanks,
> Li Qiang
>
>


reply via email to

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