From: David Goulet Date: Thu, 14 Nov 2013 18:14:31 +0000 (-0500) Subject: Fix: document relayd live lock nesting X-Git-Tag: v2.4.0-rc1~43 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d39add63f27be5e855b3b4a2381f951c0684cc0d;p=lttng-tools.git Fix: document relayd live lock nesting Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-relayd/lttng-relayd.h b/src/bin/lttng-relayd/lttng-relayd.h index 0af8e0f1d..c17a67ea8 100644 --- a/src/bin/lttng-relayd/lttng-relayd.h +++ b/src/bin/lttng-relayd/lttng-relayd.h @@ -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. */