Skip to content
Snippets Groups Projects
Commit cd9ba1eb authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

aio: prepare for introducing GSource-based dispatch


This adds a GPollFD to each AioHandler.  It will then be possible to
attach these GPollFDs to a GSource, and from there to the main loop.
aio_wait examines the GPollFDs and avoids calling select() if any
is set (similar to what it does if bottom halves are available).

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 7c0628b2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment