Fix: document relayd live lock nesting
authorDavid Goulet <dgoulet@efficios.com>
Thu, 14 Nov 2013 18:14:31 +0000 (13:14 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 14 Nov 2013 18:14:31 +0000 (13:14 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/lttng-relayd.h

index 0af8e0f1d963199b5a6bb82c28b244a33daa6b6c..c17a67ea806a6c36f069f85801927e0c1721ca45 100644 (file)
@@ -169,6 +169,8 @@ struct relay_viewer_stream {
        /*
         * This lock blocks only when the writer is about to start overwriting
         * a file currently read by the reader.
+        *
+        * This is nested INSIDE the viewer_stream_rotation_lock.
         */
        pthread_mutex_t overwrite_lock;
        /* Information telling us if the stream is a metadata stream. */
This page took 0.028907 seconds and 5 git commands to generate.