server/tests: print pthread id on channel_event

This commit is contained in:
Alon Levy 2011-09-07 20:37:29 +03:00
parent 2c92a54712
commit 691afbbab5
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,10 @@
#include <stdlib.h>
#include <stdio.h>
#include <sys/time.h>
#include <strings.h>
#include <signal.h>
#include <string.h>
#include <pthread.h>
#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)

View File

@ -288,4 +288,3 @@ int main()
return 0;
}