From: Jérémie Galarneau Date: Thu, 6 Dec 2018 19:47:34 +0000 (-0500) Subject: Perform the clean-up of application notify sockets in main thread X-Git-Tag: v2.12.0-rc1~706 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=faadaa3a56561aca9dbd8f10f91d1e0fc40ed7e2;hp=faadaa3a56561aca9dbd8f10f91d1e0fc40ed7e2 Perform the clean-up of application notify sockets in main thread The notify sockets of applications are owned by the "notify-apps" thread. If an application exits during the course of the session daemon's life, the notify thread will take care of cleaning its associated notify socket. However, there is no teardown/clean-up code to handle their clean-up when the daemon is torn down. This change adds a new step in the sessiond clean-up code that closes closes all notify sockets present in the ust_app_by_notify_sock hash table at the time of the sessiond cleanup. Signed-off-by: Jérémie Galarneau ---