Clean-up: use a define for support thread count
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 May 2018 19:02:17 +0000 (15:02 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 May 2018 19:02:17 +0000 (15:02 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c

index 0625c11939b958f8b9d88ed3ce48a88a3074d703..f9b41d2707bd26aff4f95a72aa1885d2f2f09280 100644 (file)
@@ -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)
 {
This page took 0.026802 seconds and 4 git commands to generate.