X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=220dbb4a294b0b608a88391bc72f08365d64fad5;hp=7375373c76113ab791a5e06027e8f0599a1494f6;hb=10211f5c32e51e398cb37508851956a2f8b7dbbf;hpb=8082d471b40e0966275515e11b8594e5e74e5eb0 diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 7375373c7..220dbb4a2 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -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;