git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8575
perror("timerfd_settime");
return 1;
}
+#if 0
fprintf(stdout, "timerfd = %d\n", tfd);
+#endif
fprintf(stdout, "wating timer (flush the single tick) ...\n");
ticks = waittmr(tfd, -1);
wating timer ...
got timer ticks (20) after 2.0 s
O_NONBLOCK test ...
-timerfd = 5
wating timer (flush the single tick) ...
got timer ticks (1) after 0.1 s
success
wating timer ...
got timer ticks (20) after 2.0 s
O_NONBLOCK test ...
-timerfd = 5
wating timer (flush the single tick) ...
got timer ticks (1) after 0.1 s
success