projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng: rename iterator_template to _iterator
[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..173b3dcdc3333c873c645b66d098c71565cfa000 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,11
@@
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::memory::create_deleter_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.023538 seconds
and
4
git commands to generate.