diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-24 14:57:22 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-30 09:30:53 +0100 |
commit | cd9ba1ebcf0439457f22b75b38533f6634f23c5f (patch) | |
tree | e7af1d5a5aa7816810a3f44fde0e6d025c10f282 /main-loop.c | |
parent | 7c0628b20e7c56b7e04abb8b5f8d7da3f7cb87e8 (diff) |
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: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'main-loop.c')
0 files changed, 0 insertions, 0 deletions