X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotification-thread.cpp;h=7d9f4ed12dd72bae638db763f757ee8ffa7021a0;hb=8a880a84dcb8ee64cbc4a5e04cae6775b4f9babd;hp=17a9956824f6c09dc01a807e112a4a0627fe1c01;hpb=f370852feddd5554281c3ce60d7fa3dfeb8869a1;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/notification-thread.cpp b/src/bin/lttng-sessiond/notification-thread.cpp index 17a995682..7d9f4ed12 100644 --- a/src/bin/lttng-sessiond/notification-thread.cpp +++ b/src/bin/lttng-sessiond/notification-thread.cpp @@ -105,7 +105,7 @@ struct notification_thread_handle *notification_thread_handle_create( sem_init(&handle->ready, 0, 0); - event_fd = eventfd(0, EFD_CLOEXEC); + event_fd = eventfd(0, EFD_CLOEXEC | EFD_SEMAPHORE); if (event_fd < 0) { PERROR("event_fd creation"); goto error;