Bump minimum kernel version to 2.6.30 to use EFD_SEMAPHORE
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread.cpp
index 17a9956824f6c09dc01a807e112a4a0627fe1c01..7d9f4ed12dd72bae638db763f757ee8ffa7021a0 100644 (file)
@@ -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;
This page took 0.024255 seconds and 4 git commands to generate.