relayd: use same pipe for live and main
[lttng-tools.git] / src / bin / lttng-relayd / main.c
index 62e149ed2cbdaf574968cbbe93659c48c8907db3..789e3300abc1e33a604a5d5aa78ffc816ae3ce4d 100644 (file)
@@ -90,7 +90,7 @@ const char * const config_section_name = "relayd";
  * Quit pipe for all threads. This permits a single cancellation point
  * for all threads when receiving an event on the pipe.
  */
-static int thread_quit_pipe[2] = { -1, -1 };
+int thread_quit_pipe[2] = { -1, -1 };
 
 /*
  * This pipe is used to inform the worker thread that a command is queued and
@@ -2998,7 +2998,7 @@ int main(int argc, char **argv)
                goto exit_listener;
        }
 
-       ret = live_start_threads(live_uri, relay_ctx, thread_quit_pipe);
+       ret = live_start_threads(live_uri, relay_ctx);
        if (ret != 0) {
                ERR("Starting live viewer threads");
                goto exit_live;
This page took 0.02568 seconds and 5 git commands to generate.