This series supersedes previous one adding a test. First 2 patches are exactly version 2. Changes since v1: - improved some comments; - declare just an helper macro. Frediano Ziglio (4): red-channel-client: Introduce a helper to update watch event mask red-channel-client: Prevent too tight loop waiting for ACKs Introduce a macro to help declaring new GObject tests: Add a test to check tight loop during ack waiting server/red-channel-client.c | 32 ++-- server/red-common.h | 26 ++++ server/tests/Makefile.am | 1 + server/tests/test-channel.c | 347 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 395 insertions(+), 11 deletions(-) create mode 100644 server/tests/test-channel.c -- 2.13.5 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel