#include <common/pipe.hpp>
#include <common/utils.hpp>
+#include <fcntl.h>
#include <inttypes.h>
#include <sys/stat.h>
}
mark_thread_as_ready(notifiers);
- while (1) {
+ while (true) {
DBG("Health check ready");
/* Infinite blocking call, waiting for transmission */
lttng_poll_clean(&events);
rcu_unregister_thread();
- return NULL;
+ return nullptr;
}
static bool shutdown_health_management_thread(void *data)
return notify_thread_pipe(write_fd) == 1;
}
-bool launch_health_management_thread(void)
+bool launch_health_management_thread()
{
struct thread_notifiers *notifiers;
struct lttng_thread *thread;