Fix: join consumer timer thread
[lttng-tools.git] / src / common / consumer / consumer.h
index 6a38e50e55a0a5a9b8c3d6eea784a718379b594d..3111471db2bfde3ce7cfb81c9f166ece3c544b3d 100644 (file)
@@ -224,6 +224,8 @@ struct lttng_consumer_channel {
        uint64_t discarded_events;
        /* Total number of missed packets due to overwriting (overwrite). */
        uint64_t lost_packets;
+
+       bool streams_sent_to_relayd;
 };
 
 /*
@@ -602,6 +604,18 @@ struct lttng_consumer_global_data {
        struct lttng_ht *stream_per_chan_id_ht;
 };
 
+/*
+ * Set to nonzero when the consumer is exiting. Updated by signal
+ * handler and thread exit, read by threads.
+ */
+extern int consumer_quit;
+
+/*
+ * Set to nonzero when the consumer is exiting. Updated by signal
+ * handler and thread exit, read by threads.
+ */
+extern int consumer_quit;
+
 /* Flag used to temporarily pause data consumption from testpoints. */
 extern int data_consumption_paused;
 
This page took 0.023099 seconds and 4 git commands to generate.