Document metadata_socket_lock nesting
[lttng-tools.git] / src / common / consumer.h
index 5a11950084bce1f36625ff0ce7809c31ca5eae71..18f64b6ef4ad5ca7e6bb05e7310a2e324e92b71a 100644 (file)
@@ -398,7 +398,11 @@ struct lttng_consumer_local_data {
        int consumer_error_socket;
        /* socket to ask metadata to sessiond. */
        int consumer_metadata_socket;
-       /* Protect consumer_metadata_socket. */
+       /*
+        * Protect consumer_metadata_socket.
+        *
+        * This is nested OUTSIDE the metadata cache lock.
+        */
        pthread_mutex_t metadata_socket_lock;
        /* socket to exchange commands with sessiond */
        char *consumer_command_sock_path;
This page took 0.023427 seconds and 4 git commands to generate.