Make the receiving thread non blocking
[lttng-tools.git] / ltt-kconsumerd / ltt-kconsumerd.c
index ade19399da97931fb06c32b99ddc70bd02481305..4180f890117257135f60436f57e9b6249882cf79 100644 (file)
@@ -227,10 +227,9 @@ int main(int argc, char **argv)
                goto error;
        }
 
-       /* create the pipe to wake to polling thread when needed */
-       ret = kconsumerd_create_poll_pipe();
+       /* create the pipe to wake to receiving thread when needed */
+       ret = kconsumerd_init();
        if (ret < 0) {
-               perror("Error creating poll pipe");
                goto end;
        }
 
This page took 0.022909 seconds and 4 git commands to generate.