aio / timers: Convert mainloop to use timeout
commit7b595f35d89d73bc69c35bf3980a89c420e8a44b
authorAlex Bligh <alex@alex.org.uk>
Wed, 21 Aug 2013 15:02:54 +0000 (21 16:02 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 22 Aug 2013 17:10:28 +0000 (22 19:10 +0200)
treead44b966a424f01943919aab6a919d05d7ac945e
parent438e1f47e7db042a10458f70aaa6197aff5d84df
aio / timers: Convert mainloop to use timeout

Convert mainloop to use timeout from default timerlist group
(i.e. the current 3 static timers)

main-loop.c produces a (possibly spurious) warning about
multiple iterations. Adapt the way this works for a signed
timeout and make the warning a bit safer.

Signed-off-by: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
main-loop.c