summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c8
1 files changed, 3 insertions, 5 deletions
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);