Fix: use lttng_waiter instead of futex in notification thread
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread-commands.h
index fc7e90bcb95ecf319c89e6bd8979602eddaac0ef..8885d4faf57d639965b3f5326c50d81a9ba7099d 100644 (file)
@@ -22,6 +22,7 @@
 #include <lttng/lttng-error.h>
 #include <urcu/rculfhash.h>
 #include "notification-thread.h"
+#include <common/waiter.h>
 
 struct notification_thread_data;
 struct lttng_trigger;
@@ -65,8 +66,8 @@ struct notification_thread_command {
                } remove_channel;
        } parameters;
 
-       /* Futex on which to wait for command reply (optional). */
-       int32_t reply_futex;
+       /* lttng_waiter on which to wait for command reply (optional). */
+       struct lttng_waiter reply_waiter;
        enum lttng_error_code reply_code;
 };
 
This page took 0.024542 seconds and 5 git commands to generate.