Implement timeout for connect ipv4/ipv6
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index bfc8a389bd62d0a32446bf7850e28929c7f1e593..e05d72bacb0b9f0ec3278c9c427b6295d7af8347 100644 (file)
@@ -446,7 +446,10 @@ static void cleanup(void)
 
        DBG("Cleaning up");
 
-       /* First thing first, stop all threads */
+       /*
+        * Close the thread quit pipe. It has already done its job,
+        * since we are now called.
+        */
        utils_close_pipe(thread_quit_pipe);
 
        /*
@@ -4628,6 +4631,9 @@ int main(int argc, char **argv)
 
        write_pidfile();
 
+       /* Initialize communication library */
+       lttcomm_init();
+
        /* Create thread to manage the client socket */
        ret = pthread_create(&ht_cleanup_thread, NULL,
                        thread_ht_cleanup, (void *) NULL);
This page took 0.023472 seconds and 4 git commands to generate.