[PATCH 0/5] 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.

"tests: allocate memory in a coherent fashion" fix some possible
problem with memory allocation.

"tests: reuse Makefile macro" just reuse code.

Other 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.

Frediano Ziglio (4):
  tests: allocate memory in a coherent fashion
  tests: reuse Makefile macro
  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/Makefile.am        |   4 +-
 server/tests/basic_event_loop.c | 148 ++--------------------
 server/tests/basic_event_loop.h |   2 +
 server/tests/replay.c           |  18 ++-
 10 files changed, 321 insertions(+), 607 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]