From: Mathieu Desnoyers Date: Fri, 26 Aug 2011 10:17:23 +0000 (-0400) Subject: cancel global thread at exit X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f0154936b20f83142d7de88cac75fa620a6b730b;p=ust.git cancel global thread at exit Signed-off-by: Mathieu Desnoyers --- diff --git a/libust/lttng-ust-comm.c b/libust/lttng-ust-comm.c index 6b548f8..13b3895 100644 --- a/libust/lttng-ust-comm.c +++ b/libust/lttng-ust-comm.c @@ -501,12 +501,10 @@ void __attribute__((destructor)) lttng_ust_exit(void) lttng_ust_comm_should_quit = 1; pthread_mutex_unlock(<tng_ust_comm_mutex); -#if 0 ret = pthread_cancel(global_apps.ust_listener); if (ret) { ERR("Error cancelling global ust listener thread"); } -#endif //0 cleanup_sock_info(&global_apps);