[Spice-devel] [PATCH v3 0/5] Event loop improves
Frediano Ziglio
fziglio at redhat.com
Thu Dec 17 07:08:47 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 v2:
- avoid use of not necessary template;
- add test;
- add cleanup patch;
- fix file name convenction.
Frediano Ziglio (4):
tests: do not use default loop context
tests: remove unused macro
tests: create and use a template file for events
tests: add a test for event loop
Marc-André Lureau (1):
worker: use glib main loop
server/Makefile.am | 4 +-
server/event-loop.c | 183 +++++++++++++++++++++++++++
server/event-loop.h | 34 +++++
server/red-worker.c | 252 +++++++++++++++----------------------
server/red-worker.h | 1 +
server/spice_timer_queue.c | 266 ----------------------------------------
server/spice_timer_queue.h | 43 -------
server/tests/Makefile.am | 8 ++
server/tests/basic_event_loop.c | 154 +++--------------------
server/tests/basic_event_loop.h | 3 +
server/tests/replay.c | 18 ++-
server/tests/test_loop.c | 134 ++++++++++++++++++++
12 files changed, 495 insertions(+), 605 deletions(-)
create mode 100644 server/event-loop.c
create mode 100644 server/event-loop.h
delete mode 100644 server/spice_timer_queue.c
delete mode 100644 server/spice_timer_queue.h
create mode 100644 server/tests/test_loop.c
--
2.4.3
More information about the Spice-devel
mailing list