projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: use CMM accessors for consumer_quit variable
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.h
diff --git
a/src/common/consumer/consumer.h
b/src/common/consumer/consumer.h
index 7375373c76113ab791a5e06027e8f0599a1494f6..220dbb4a294b0b608a88391bc72f08365d64fad5 100644
(file)
--- 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;
};
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;
/* Flag used to temporarily pause data consumption from testpoints. */
extern int data_consumption_paused;
This page took
0.025694 seconds
and
4
git commands to generate.