Message ID | 1501534805-19575-2-git-send-email-odpbot@yandex.ru |
---|---|
State | New |
Headers | show |
Series | [API-NEXT,v1,1/1] linux-gen: timer: set sigev_value in timer_res_init | expand |
diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c index 9fc0675d..fdb48902 100644 --- a/platform/linux-generic/odp_timer.c +++ b/platform/linux-generic/odp_timer.c @@ -844,6 +844,7 @@ static int timer_res_init(void) sigev.sigev_notify = SIGEV_THREAD_ID; sigev._sigev_un._tid = (pid_t)syscall(SYS_gettid); + sigev.sigev_value.sival_ptr = NULL; sigev.sigev_signo = SIGUSR1; /* Create timer */