Fix: rotation may never complete in per-PID buffering mode
[lttng-tools.git] / src / bin / lttng-sessiond / ht-cleanup.c
index 08bd27286763835b499088896d4884301a35f26f..a3b046b8834a2eaaa7dd74b9bb0bb0beb6cff806 100644 (file)
@@ -234,12 +234,13 @@ int init_ht_cleanup_thread(pthread_t *thread)
                goto error;
        }
 
-       init_pipe(ht_cleanup_quit_pipe);
+       ret = init_pipe(ht_cleanup_quit_pipe);
        if (ret) {
                goto error_quit_pipe;
        }
 
-       ret = pthread_create(thread, NULL, thread_ht_cleanup, NULL);
+       ret = pthread_create(thread, default_pthread_attr(), thread_ht_cleanup,
+                       NULL);
        if (ret) {
                errno = ret;
                PERROR("pthread_create ht_cleanup");
This page took 0.026181 seconds and 5 git commands to generate.