diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-22 08:12:52 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-01 13:12:33 -0500 |
commit | 69e5bb68a5e95286edd59c3ce34c6f7bae5b5548 (patch) | |
tree | b971ab785ae6a1ef08b33242dc2b4910821f0799 /cutils.c | |
parent | 70d705fd46ccd7afe1d0ad07a6f1ee2101a979db (diff) |
Add glib support to main loop
This allows GSources to be used to register callback events in QEMU. This is
useful as it allows us to take greater advantage of glib and also because it
allows us to write code that is more easily testable outside of QEMU since we
can make use of glib's main loop in unit tests.
All new code should use glib's callback mechanisms for registering fd events
which are very well documented at:
http://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html
And:
http://developer.gnome.org/gio/stable/
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cutils.c')
0 files changed, 0 insertions, 0 deletions