X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fnotification%2Fchannel-internal.hpp;fp=include%2Flttng%2Fnotification%2Fchannel-internal.hpp;h=44fd9cf1637c8e2c217964c1e58ec2f2f984e57b;hp=3364704eed12ccad98f410876970df69d92c3edd;hb=0038180de36c422cfaeade1145fa9fbc9436b8ad;hpb=8b75cd779ffe332281fec189cdf808e4ee452572 diff --git a/include/lttng/notification/channel-internal.hpp b/include/lttng/notification/channel-internal.hpp index 3364704ee..44fd9cf16 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,10 @@ 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 {