main-loop: switch POSIX glib integration to GPollFD
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 20 Feb 2013 10:28:26 +0000 (11:28 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 21 Feb 2013 22:17:30 +0000 (16:17 -0600)
commit48ce11ff972c733afaed3e2a2613a2e56081ec92
tree4569aeee52d809464237b4577c127b075cfa6ef9
parentcbff4b342b000a7642125dbdabf61113e05eee44
main-loop: switch POSIX glib integration to GPollFD

Convert glib file descriptor polling from rfds/wfds/xfds to GPollFD.

The Windows code still needs poll_fds[] and n_poll_fds but they can now
become local variables.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-id: 1361356113-11049-4-git-send-email-stefanha@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
main-loop.c