Cleanup: use CMM accessors for consumer_quit variable
[lttng-tools.git] / src / common / consumer / consumer.h
index 7375373c76113ab791a5e06027e8f0599a1494f6..220dbb4a294b0b608a88391bc72f08365d64fad5 100644 (file)
@@ -604,6 +604,12 @@ 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;
+
 /* Flag used to temporarily pause data consumption from testpoints. */
 extern int data_consumption_paused;
 
This page took 0.023101 seconds and 4 git commands to generate.