consumerd: rename `data_read` to `has_data_left_to_be_read_before_teardown`
[lttng-tools.git] / src / common / consumer / consumer.hpp
index 2c16ae1fac051edf432dde8cbca73aa8ffa3bba9..dd8eb40d44798c8466c7f3d3eaa794ee6d60c169 100644 (file)
@@ -449,7 +449,11 @@ struct lttng_consumer_stream {
        /* Amount of bytes written to the output */
        uint64_t output_written;
        int shm_fd_is_copy;
-       int data_read;
+       /*
+        * When a stream's pipe is hung up, a final flush is performed (see hangup_flush_done). This
+        * indicates whether or not the data resulting from this flush is still to be consumed.
+        */
+       int has_data_left_to_be_read_before_teardown;
        int hangup_flush_done;
 
        /*
This page took 0.022613 seconds and 4 git commands to generate.