From: Jérémie Galarneau Date: Fri, 18 May 2018 19:02:17 +0000 (-0400) Subject: Clean-up: use a define for support thread count X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=bc4b3ff16b26d5430fe701fd0680a157c65e21f8 Clean-up: use a define for support thread count Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 0625c1193..f9b41d270 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -332,7 +332,8 @@ struct lttng_ht *agent_apps_ht_by_sock = NULL; * - rotation_thread * - health_thread */ -int lttng_sessiond_ready = 4; +#define NR_LTTNG_SESSIOND_SUPPORT_THREADS 4 +int lttng_sessiond_ready = NR_LTTNG_SESSIOND_SUPPORT_THREADS; int sessiond_check_thread_quit_pipe(int fd, uint32_t events) {