summaryrefslogtreecommitdiff
path: root/rwhandler.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-22 08:12:52 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-01 13:12:33 -0500
commit69e5bb68a5e95286edd59c3ce34c6f7bae5b5548 (patch)
treeb971ab785ae6a1ef08b33242dc2b4910821f0799 /rwhandler.h
parent70d705fd46ccd7afe1d0ad07a6f1ee2101a979db (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 'rwhandler.h')
0 files changed, 0 insertions, 0 deletions