Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng_ust_comm_should_quit = 1;
pthread_mutex_unlock(<tng_ust_comm_mutex);
lttng_ust_comm_should_quit = 1;
pthread_mutex_unlock(<tng_ust_comm_mutex);
ret = pthread_cancel(global_apps.ust_listener);
if (ret) {
ERR("Error cancelling global ust listener thread");
}
ret = pthread_cancel(global_apps.ust_listener);
if (ret) {
ERR("Error cancelling global ust listener thread");
}
cleanup_sock_info(&global_apps);
cleanup_sock_info(&global_apps);