summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-10 19:51:28 +0900
committerdaniel <danieruru@gmail.com>2013-01-10 19:51:28 +0900
commit845db4b79f9b72592e662a6daa5917f84ff12e04 (patch)
tree4de44da03ac0e7e009c9fec3fe299af2158e442d /instr-daemon.c
parentbd451ce0f4855bc2dfd8c19b1f17a5cd60eb6650 (diff)
the interrupt channel works now.
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);