Docs: notification comment refers to a structure by its former name
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread.c
index e0937d8e58eb577d2f088968d7a16299fe5db4c8..7bd65361a25a7b97063305ca8eec2e0b6551abbf 100644 (file)
@@ -68,7 +68,7 @@
  *
  *   - notification_trigger_clients_ht:
  *             associates notification-emitting triggers to clients
- *             (struct notification_client_ht_node) subscribed to those
+ *             (struct notification_client_list) subscribed to those
  *             conditions.
  *             The condition's hash and match functions are used directly since
  *             all triggers in this hash table have the "notify" action.
@@ -209,7 +209,7 @@ struct notification_thread_handle *notification_thread_handle_create(
        }
 
        /* FIXME Replace eventfd by a pipe to support older kernels. */
-       handle->cmd_queue.event_fd = eventfd(0, EFD_CLOEXEC);
+       handle->cmd_queue.event_fd = eventfd(0, EFD_CLOEXEC | EFD_SEMAPHORE);
        if (handle->cmd_queue.event_fd < 0) {
                PERROR("eventfd notification command queue");
                goto error;
This page took 0.024141 seconds and 4 git commands to generate.