return NULL;
}
-LTTNG_HIDDEN
bool notification_client_list_get(struct notification_client_list *list)
{
return urcu_ref_get_unless_zero(&list->ref);
source_element->is_fd_in_poll_set = false;
+ /*
+ * Force the notification thread to restart the poll() loop to ensure
+ * that any events from the removed fd are removed.
+ */
+ state->restart_poll = true;
+
ret = drain_event_notifier_notification_pipe(state, source_element->fd,
source_element->domain);
if (ret) {
* interference from external users (those could, for instance, unregister
* their triggers).
*/
-LTTNG_HIDDEN
int notification_client_list_send_evaluation(
struct notification_client_list *client_list,
const struct lttng_trigger *trigger,