Add a comment about which wait fd is closed early by UST.
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 12 Jan 2012 19:07:56 +0000 (14:07 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 12 Jan 2012 19:07:56 +0000 (14:07 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-comm.c

index 516e39d2f570c6837352ccedb23bd798bbb1b3b0..798c10a36c47bc1e7257227ba57dc46945fac853 100644 (file)
@@ -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) {
This page took 0.026654 seconds and 4 git commands to generate.