X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotify-apps.cpp;fp=src%2Fbin%2Flttng-sessiond%2Fnotify-apps.cpp;h=a73e9df5837cb0723b4190ce0fd1f50a025b3b5c;hp=5d67a914f8ecbc6abefba99b8a6709bd33efd61c;hb=cd9adb8b829564212158943a0d279bb35322ab30;hpb=e665dfbce25215d5ec77ff03a279c7163b337db1 diff --git a/src/bin/lttng-sessiond/notify-apps.cpp b/src/bin/lttng-sessiond/notify-apps.cpp index 5d67a914f..a73e9df58 100644 --- a/src/bin/lttng-sessiond/notify-apps.cpp +++ b/src/bin/lttng-sessiond/notify-apps.cpp @@ -69,7 +69,7 @@ static void *thread_application_notification(void *data) health_code_update(); - while (1) { + while (true) { DBG3("[ust-thread] Manage notify polling"); /* Inifinite blocking call, waiting for transmission */ @@ -197,7 +197,7 @@ error_testpoint: health_unregister(the_health_sessiond); rcu_thread_offline(); rcu_unregister_thread(); - return NULL; + return nullptr; } static bool shutdown_application_notification_thread(void *data)