+ struct rotation_thread_timer_queue& _rotation_timer_queue;
+ /* Access to the notification thread cmd_queue */
+ notification_thread_handle& _notification_thread_handle;
+ /* Thread-specific quit pipe. */
+ lttng_pipe::uptr _quit_pipe;
+ lttng_notification_channel::uptr _notification_channel;
+ /*
+ * Use an event_fd to wake-up the rotation thread whenever a command
+ * completes on the notification channel. This ensures that any
+ * notification that was queued while waiting for a reply to the command is
+ * eventually consumed.
+ */
+ lttng::eventfd _notification_channel_subscribtion_change_eventfd;
+ lttng_poll_event _events;
+};
+
+struct rotation_thread_timer_queue *rotation_thread_timer_queue_create(void);
+void rotation_thread_timer_queue_destroy(struct rotation_thread_timer_queue *queue);