summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/instr-daemon.c b/instr-daemon.c
index 66cc4d5..9b4e513 100644
--- a/instr-daemon.c
+++ b/instr-daemon.c
@@ -188,6 +188,14 @@ handler (GThreadedSocketService *service,
return TRUE;
}
+extern void vxi_main ();
+
+static gpointer vxithreadfunc (gpointer data){
+ vxi_main ();
+ return NULL;
+}
+
+
int main(int argc, char **argv)
{
@@ -285,7 +293,12 @@ int main(int argc, char **argv)
g_timeout_add (20, (GSourceFunc) periodic_poll, NULL);
g_timeout_add (100, (GSourceFunc) finish_boot, NULL);
- vxi_main ();
+ //GThread *vxithread =(vxithreadfunc, NULL,false, NULL);
+ //if(vxithread == NULL)
+ // printf("Couldn't create vxi thread\n");
+
+ vxi_main();
+
g_main_loop_run (loop);
bus_shutdown();