mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
iohandler: switch to GPollFD
Convert iohandler_select_fill() and iohandler_select_poll() to use GPollFD instead of rfds/wfds/xfds. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Message-id: 1361356113-11049-7-git-send-email-stefanha@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
8917c3bdba
commit
a3e4b4a809
3 changed files with 34 additions and 14 deletions
|
@ -297,8 +297,8 @@ void qemu_mutex_unlock_iothread(void);
|
|||
/* internal interfaces */
|
||||
|
||||
void qemu_fd_register(int fd);
|
||||
void qemu_iohandler_fill(int *pnfds, fd_set *readfds, fd_set *writefds, fd_set *xfds);
|
||||
void qemu_iohandler_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds, int rc);
|
||||
void qemu_iohandler_fill(GArray *pollfds);
|
||||
void qemu_iohandler_poll(GArray *pollfds, int rc);
|
||||
|
||||
QEMUBH *qemu_bh_new(QEMUBHFunc *cb, void *opaque);
|
||||
void qemu_bh_schedule_idle(QEMUBH *bh);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue