Fix: sanitize wait queue in the dispatch thread
[lttng-tools.git] / src / bin / lttng-sessiond / lttng-sessiond.h
index 6090e086c4f257311c57f068aa75ef71c585c393..aeb03037073f67dedab460903482891ccb5489e5 100644 (file)
@@ -65,6 +65,24 @@ struct ust_cmd_queue {
        struct cds_wfq_queue queue;
 };
 
+/*
+ * This is the wait queue containing wait nodes during the application
+ * registration process.
+ */
+struct ust_reg_wait_queue {
+       unsigned long count;
+       struct cds_list_head head;
+};
+
+/*
+ * Use by the dispatch registration to queue UST command socket to wait for the
+ * notify socket.
+ */
+struct ust_reg_wait_node {
+       struct ust_app *app;
+       struct cds_list_head head;
+};
+
 /*
  * This pipe is used to inform the thread managing application notify
  * communication that a command is queued and ready to be processed.
This page took 0.02451 seconds and 5 git commands to generate.