From: David Goulet Date: Thu, 14 Nov 2013 18:14:31 +0000 (-0500) Subject: Fix: document relayd live lock nesting X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=d39add63f27be5e855b3b4a2381f951c0684cc0d 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. */