From: Mathieu Desnoyers Date: Thu, 12 Jan 2012 19:07:56 +0000 (-0500) Subject: Add a comment about which wait fd is closed early by UST. X-Git-Tag: v1.9.5~19 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3ad5f707e8784c29c14bcf46b4b2ea9753679ad2;p=lttng-ust.git Add a comment about which wait fd is closed early by UST. Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index 516e39d2..798c10a3 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -340,7 +340,9 @@ end: } /* * We still have the memory map reference, and the fds have been - * sent to the sessiond. We can therefore close those fds. + * sent to the sessiond. We can therefore close those fds. Note + * that we keep the write side of the wait_fd open, but close + * the read side. */ if (lur.ret_code == USTCOMM_OK) { switch (lum->cmd) {