..
This commit is contained in:
parent
301eebafa9
commit
755d95ab0e
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
interval.it_value.tv_sec = interval.it_interval.tv_sec;
|
interval.it_value.tv_sec = interval.it_interval.tv_sec;
|
||||||
interval.it_value.tv_nsec = interval.it_interval.tv_nsec;
|
interval.it_value.tv_nsec = interval.it_interval.tv_nsec;
|
||||||
|
|
||||||
handle = timerfd_create(CLOCK_MONOTONIC, 0);
|
handle = timerfd_create(CLOCK_MONOTONIC, 0);
|
||||||
timerfd_settime(handle, 0, &interval, NULL);
|
timerfd_settime(handle, 0, &interval, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue