Fix: get consumer lock before closing/pushing metadata
[lttng-tools.git] / src / common / consumer-metadata-cache.h
index 164f9eaae0689d68262e007278bbfc82a3a7d6ac..b1a4dc2b777fad31b91a8ecf040b439f180776c3 100644 (file)
@@ -43,6 +43,8 @@ struct consumer_metadata_cache {
        /*
         * Lock to update the metadata cache and push into the ring_buffer
         * (ustctl_write_metadata_to_channel).
+        *
+        * This is nested INSIDE the consumer_data lock.
         */
        pthread_mutex_t lock;
 };
This page took 0.024173 seconds and 5 git commands to generate.