Fix: multiple consumer locking problems
[lttng-tools.git] / src / bin / lttng-sessiond / consumer.h
index 68a51bb6cb6efc2424b0b2bc7427cbec2925963b..c85529cfde94cf36fb714ac4b67137f72385e69f 100644 (file)
@@ -86,6 +86,9 @@ struct consumer_net {
 
        /* Data path for network streaming. */
        struct lttng_uri data;
+
+       /* Flag if network sockets were sent to the consumer. */
+       unsigned int relayd_socks_sent;
 };
 
 /*
@@ -98,8 +101,8 @@ struct consumer_output {
 
        /*
         * The net_seq_index is the index of the network stream on the consumer
-        * side. It's basically the relayd socket file descriptor value so the
-        * consumer can identify which streams goes with which socket.
+        * side. It tells the consumer which streams goes to which relayd with this
+        * index. The relayd sockets are index with it on the consumer side.
         */
        int net_seq_index;
 
This page took 0.022827 seconds and 4 git commands to generate.