From: Mathieu Desnoyers Date: Fri, 16 Jun 2017 21:23:13 +0000 (-0400) Subject: Fix: join consumer timer thread X-Git-Tag: v2.11.0-rc1~519 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;ds=sidebyside;h=13675d0e093a96a7e7c0aa8c67029fa5e2ed9a68;hp=13675d0e093a96a7e7c0aa8c67029fa5e2ed9a68;p=lttng-tools.git Fix: join consumer timer thread Detaching the timer thread has the unfortunate side-effect of letting the health management data structures be freed by main() while the timer thread may still be using them (if, e.g., main() exits quickly). Overcome this situation by tearing down and joining the timer thread. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---