From mboxrd@z Thu Jan 1 00:00:00 1970 From: jonathan.rajotte-julien@efficios.com (Jonathan Rajotte) Date: Mon, 18 Sep 2017 18:52:04 -0400 Subject: [lttng-dev] [RFC PATCH v2 11/13] Comments update In-Reply-To: <20170918225206.17725-1-jonathan.rajotte-julien@efficios.com> References: <20170918225206.17725-1-jonathan.rajotte-julien@efficios.com> Message-ID: <20170918225206.17725-12-jonathan.rajotte-julien@efficios.com> Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/main.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 216d0da6..a840e8de 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -496,14 +496,18 @@ static int init_thread_apps_notify_teardown_trigger_pipe(void) } /* - * Stop all threads by closing the thread quit pipe. + * Stop first wave threads by closing the thread quit pipe. + * - kernel thread + * - client thread + * - agent thread + * - reg apps thread */ static void stop_threads(void) { int ret; - /* Stopping all threads */ - DBG("Terminating all threads"); + /* Stopping first wave threads */ + DBG("Terminating first wave threads"); ret = notify_thread_pipe(thread_quit_pipe[1]); if (ret < 0) { ERR("write error on thread quit pipe"); -- 2.11.0