diff options
author | daniel <danieruru@gmail.com> | 2013-01-10 14:59:36 +0900 |
---|---|---|
committer | daniel <danieruru@gmail.com> | 2013-01-10 14:59:36 +0900 |
commit | 7f6453d0778108eed02ea0ff7a87fea3a4b6b34d (patch) | |
tree | b736c8ec5db2d336fddef752658f737c32002895 /instr-daemon.c | |
parent | 1b91b096d164b5524a45b2585269109fd000fd40 (diff) |
add support for the abort channel on the client side
Diffstat (limited to 'instr-daemon.c')
-rw-r--r-- | instr-daemon.c | 15 |
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(); |