[PATCH v2 0/3] Event loop improves

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]