X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fnotification%2Fchannel-internal.hpp;h=34014f16ffbc652e6ac91e5cead59cff506c554d;hb=b50fbe868463594a65f84215badd52ae1bcc581e;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..34014f16f 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::details::create_unique_class::deleter>; + pthread_mutex_t lock; int socket; struct {