cancel global thread at exit
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Aug 2011 10:17:23 +0000 (06:17 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Aug 2011 10:17:23 +0000 (06:17 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libust/lttng-ust-comm.c

index 6b548f82e0dcad7ba850495d555c2b7f7a6b8dc5..13b3895e40127b7a57c9ff6b5081545dcb093d2b 100644 (file)
@@ -501,12 +501,10 @@ void __attribute__((destructor)) lttng_ust_exit(void)
        lttng_ust_comm_should_quit = 1;
        pthread_mutex_unlock(&lttng_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);
 
This page took 0.03072 seconds and 5 git commands to generate.