X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=e1a4b7e9e44f39f5bd9b60cc750ac78ef98feac3;hb=5383626cf594a00a88ae4c99ed34797efc3ced2c;hp=66092d3c5bc5888b0c2aa603a9c2255532c50af8;hpb=97d3faa28b0ffde0c6ff5c43cb4282a52fee19b2;p=lttng-tools.git diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 66092d3c5..e1a4b7e9e 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -593,6 +593,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 volatile int consumer_quit; + /* * Init consumer data structures. */