[Spice-devel] [PATCH v2 0/3] Event loop improves
Frediano Ziglio
fziglio at redhat.com
Thu Dec 17 05:22:17 PST 2015
These set of patches try to improve current event loop code.
Patches improve test event loop, make a template from
them and use for main loop.
These patches also improve glib main loop patch from Marc and
supercede fixes for timers reducing original patch size and making
easier to test code.
Changes from v1:
- do not move code in first patch causing patch to be bigger;
- allow to mangle more functions in template.
Frediano Ziglio (2):
tests: do not use default loop context
tests: create and use a template file for events
Marc-André Lureau (1):
worker: use glib main loop
server/Makefile.am | 3 +-
server/event_loop.tmpl.c | 191 +++++++++++++++++++++++++++++
server/red-worker.c | 252 +++++++++++++++----------------------
server/red-worker.h | 1 +
server/spice_timer_queue.c | 266 ----------------------------------------
server/spice_timer_queue.h | 43 -------
server/tests/basic_event_loop.c | 147 ++--------------------
server/tests/basic_event_loop.h | 2 +
server/tests/replay.c | 18 ++-
9 files changed, 319 insertions(+), 604 deletions(-)
create mode 100644 server/event_loop.tmpl.c
delete mode 100644 server/spice_timer_queue.c
delete mode 100644 server/spice_timer_queue.h
--
2.4.3
More information about the Spice-devel
mailing list