projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: rotation-thread: enforce conding standard following fix
[lttng-tools.git]
/
include
/
lttng
/
notification
/
channel-internal.hpp
diff --git
a/include/lttng/notification/channel-internal.hpp
b/include/lttng/notification/channel-internal.hpp
index 3364704eed12ccad98f410876970df69d92c3edd..44fd9cf1637c8e2c217964c1e58ec2f2f984e57b 100644
(file)
--- 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
#ifndef LTTNG_NOTIFICATION_CHANNEL_INTERNAL_H
#define LTTNG_NOTIFICATION_CHANNEL_INTERNAL_H
-#include <lttng/notification/channel.h>
#include <common/macros.hpp>
#include <common/macros.hpp>
+#include <common/make-unique-wrapper.hpp>
#include <common/payload.hpp>
#include <common/payload.hpp>
-#include <stdint.h>
-#include <stdbool.h>
+
+#include <lttng/notification/channel.h>
+
#include <pthread.h>
#include <pthread.h>
+#include <stdbool.h>
+#include <stdint.h>
#include <urcu/list.h>
/*
#include <urcu/list.h>
/*
@@
-82,6
+85,10
@@
struct pending_notification {
* in the pending_notifications list.
*/
struct lttng_notification_channel {
* in the pending_notifications list.
*/
struct lttng_notification_channel {
+ using uptr = std::unique_ptr<
+ lttng_notification_channel,
+ lttng::details::create_unique_class<lttng_notification_channel, lttng_notification_channel_destroy>::deleter>;
+
pthread_mutex_t lock;
int socket;
struct {
pthread_mutex_t lock;
int socket;
struct {
This page took
0.022936 seconds
and
4
git commands to generate.