X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=3111471db2bfde3ce7cfb81c9f166ece3c544b3d;hp=220dbb4a294b0b608a88391bc72f08365d64fad5;hb=13675d0e093a96a7e7c0aa8c67029fa5e2ed9a68;hpb=10211f5c32e51e398cb37508851956a2f8b7dbbf diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 220dbb4a2..3111471db 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -610,6 +610,12 @@ struct lttng_consumer_global_data { */ 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;