X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fnotification%2Fchannel-internal.hpp;h=173b3dcdc3333c873c645b66d098c71565cfa000;hb=HEAD;hp=3364704eed12ccad98f410876970df69d92c3edd;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git diff --git a/include/lttng/notification/channel-internal.hpp b/include/lttng/notification/channel-internal.hpp index 3364704ee..173b3dcdc 100644 --- a/include/lttng/notification/channel-internal.hpp +++ b/include/lttng/notification/channel-internal.hpp @@ -8,12 +8,15 @@ #ifndef LTTNG_NOTIFICATION_CHANNEL_INTERNAL_H #define LTTNG_NOTIFICATION_CHANNEL_INTERNAL_H -#include #include +#include #include -#include -#include + +#include + #include +#include +#include #include /* @@ -82,6 +85,11 @@ struct pending_notification { * in the pending_notifications list. */ struct lttng_notification_channel { + using uptr = std::unique_ptr< + lttng_notification_channel, + lttng::memory::create_deleter_class::deleter>; + pthread_mutex_t lock; int socket; struct {