mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
cleanups
This commit is contained in:
parent
1dd7aaca19
commit
41305049e2
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ uint64_t timerfd_wait(int fd)
|
|||
uint64_t timerfd_wait_until(int fd, struct timespec *until)
|
||||
{
|
||||
struct itimerspec its = {
|
||||
.it_value = *until
|
||||
.it_value = *until,
|
||||
.it_interval = { 0, 0 }
|
||||
};
|
||||
|
||||
if (timerfd_settime(fd, TFD_TIMER_ABSTIME, &its, NULL))
|
||||
|
|
Loading…
Add table
Reference in a new issue