projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove fcntl wrapper
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notify-apps.cpp
diff --git
a/src/bin/lttng-sessiond/notify-apps.cpp
b/src/bin/lttng-sessiond/notify-apps.cpp
index 5d67a914f8ecbc6abefba99b8a6709bd33efd61c..03ac5866c83d562289c948c219d36a72d49a2f75 100644
(file)
--- a/
src/bin/lttng-sessiond/notify-apps.cpp
+++ b/
src/bin/lttng-sessiond/notify-apps.cpp
@@
-18,6
+18,8
@@
#include <common/common.hpp>
#include <common/utils.hpp>
#include <common/common.hpp>
#include <common/utils.hpp>
+#include <fcntl.h>
+
namespace {
struct thread_notifiers {
struct lttng_pipe *quit_pipe;
namespace {
struct thread_notifiers {
struct lttng_pipe *quit_pipe;
@@
-69,7
+71,7
@@
static void *thread_application_notification(void *data)
health_code_update();
health_code_update();
- while (
1
) {
+ while (
true
) {
DBG3("[ust-thread] Manage notify polling");
/* Inifinite blocking call, waiting for transmission */
DBG3("[ust-thread] Manage notify polling");
/* Inifinite blocking call, waiting for transmission */
@@
-197,7
+199,7
@@
error_testpoint:
health_unregister(the_health_sessiond);
rcu_thread_offline();
rcu_unregister_thread();
health_unregister(the_health_sessiond);
rcu_thread_offline();
rcu_unregister_thread();
- return
NULL
;
+ return
nullptr
;
}
static bool shutdown_application_notification_thread(void *data)
}
static bool shutdown_application_notification_thread(void *data)
This page took
0.024363 seconds
and
4
git commands to generate.