- ret = init_pipe(ht_cleanup_pipe);
- if (ret) {
- goto error;
- }
-
- init_pipe(ht_cleanup_quit_pipe);
- if (ret) {
- goto error_quit_pipe;
- }
-
- ret = pthread_create(thread, NULL, thread_ht_cleanup, NULL);
- if (ret) {
- errno = ret;
- PERROR("pthread_create ht_cleanup");
- goto error_thread;