Fix: sessiond: assert on empty payload when handling client out event
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread-internal.h
index fe53a51613528fe2ba4a2255030a6f583b180635..5e39ed8c692f92d28b2425f1fb7db830af1f6fc3 100644 (file)
@@ -114,6 +114,7 @@ struct notification_client_list {
        pthread_mutex_t lock;
        struct urcu_ref ref;
        struct lttng_condition *condition;
+       /* List of triggers that have an identical condition than `condition`. */
        struct cds_list_head triggers_list;
        struct cds_list_head clients_list;
        /* Weak reference to container. */
@@ -141,6 +142,7 @@ struct notification_client {
        uint8_t major, minor;
        uid_t uid;
        gid_t gid;
+       bool is_sessiond;
        /*
         * Indicates if the credentials and versions of the client have been
         * checked.
@@ -163,6 +165,7 @@ struct notification_client {
                 * clean-up.
                 */
                bool active;
+               int current_poll_events;
                struct {
                        /*
                         * During the reception of a message, the reception
This page took 0.023526 seconds and 4 git commands to generate.