From 845db4b79f9b72592e662a6daa5917f84ff12e04 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 10 Jan 2013 19:51:28 +0900 Subject: the interrupt channel works now. --- instr-daemon.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'instr-daemon.c') diff --git a/instr-daemon.c b/instr-daemon.c index 9b4e513..b0e05cd 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -293,11 +293,9 @@ int main(int argc, char **argv) g_timeout_add (20, (GSourceFunc) periodic_poll, NULL); g_timeout_add (100, (GSourceFunc) finish_boot, NULL); - //GThread *vxithread =(vxithreadfunc, NULL,false, NULL); - //if(vxithread == NULL) - // printf("Couldn't create vxi thread\n"); - - vxi_main(); + GThread *vxithread =g_thread_create(vxithreadfunc, NULL,false, NULL); + if(vxithread == NULL) + printf("Couldn't create vxi thread\n"); g_main_loop_run (loop); -- cgit