From 691afbbab56cb7b42bafd97b80221b8486d6cc10 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 7 Sep 2011 20:37:29 +0300 Subject: server/tests: print pthread id on channel_event --- server/tests/basic_event_loop.c | 6 +++++- server/tests/test_display_no_ssl.c | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/server/tests/basic_event_loop.c b/server/tests/basic_event_loop.c index 1d54ed09..5f0b7ce9 100644 --- a/server/tests/basic_event_loop.c +++ b/server/tests/basic_event_loop.c @@ -1,6 +1,10 @@ #include #include #include +#include +#include +#include +#include #include "test_util.h" #include "basic_event_loop.h" @@ -221,7 +225,7 @@ static void watch_remove(SpiceWatch *watch) static void channel_event(int event, SpiceChannelEventInfo *info) { - NOT_IMPLEMENTED + printf("got event %d, pthreadid %x\n", event, pthread_self()); } SpiceTimer *get_next_timer(void) diff --git a/server/tests/test_display_no_ssl.c b/server/tests/test_display_no_ssl.c index 7edc8dc7..a7fa4c51 100644 --- a/server/tests/test_display_no_ssl.c +++ b/server/tests/test_display_no_ssl.c @@ -288,4 +288,3 @@ int main() return 0; } - -- cgit