mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-31 02:41:52 +00:00
server/tests: print pthread id on channel_event
This commit is contained in:
parent
2c92a54712
commit
691afbbab5
@ -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)
|
||||
|
||||
@ -288,4 +288,3 @@ int main()
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user