From: Jérémie Galarneau Date: Thu, 13 Feb 2020 04:34:08 +0000 (-0500) Subject: sessiond: notification: refactor: split transmission and poll update X-Git-Tag: v2.13.0-rc1~501 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=dd877ea65a8db6b9abcffec9162695059ced90f7;hp=dd877ea65a8db6b9abcffec9162695059ced90f7 sessiond: notification: refactor: split transmission and poll update Split the notification transmission logic and its effect on a notification_client from the logic tied to the management of the notification thread. This is to make it possible to send (or queue) notifications from the notification thread or another thread. If another thread encounters an error or a full socket buffer, a future mechanism will allow it to signal the notification thread to update its private state (e.g. poll mask). Signed-off-by: Jérémie Galarneau Change-Id: I35d8943cb11473d82b07a4dbc5a0f093cde25a79 ---