Use pipe instead of eventfd() for notification command queue
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread.h
index a9c771104d48118a1a61ce65008f8df9b76c3439..2aa76e71ca422bfd007dfcaec4786ebb1d7db549 100644 (file)
 struct notification_thread_handle {
        /*
         * Queue of struct notification command.
-        * event_fd must be WRITE(2) to signal that a new command
+        * event_pipe must be WRITE(2) to signal that a new command
         * has been enqueued.
         */
        struct {
-               int event_fd;
+               struct lttng_pipe *event_pipe;
                struct cds_list_head list;
                pthread_mutex_t lock;
        } cmd_queue;
This page took 0.023297 seconds and 4 git commands to generate.