4
Fork 0
This commit is contained in:
Artem Prilutskiy 2017-05-26 14:23:35 +03:00
parent 301eebafa9
commit 755d95ab0e

View file

@ -167,7 +167,7 @@ int main(int argc, char* argv[])
interval.it_value.tv_sec = interval.it_interval.tv_sec;
interval.it_value.tv_nsec = interval.it_interval.tv_nsec;
handle = timerfd_create(CLOCK_MONOTONIC, 0);
timerfd_settime(handle, 0, &interval, NULL);