clock_gettime (CLOCK_REALTIME, &now);
-// printf ("(0x%x): Arm timer (%d). abstime=%d, value={%ld,%ld}, now={%ld, %ld}\n",\
-// pthread_self (), timerid, abstime, value -> tv_sec, value -> tv_nsec, now.tv_sec, now.tv_nsec);
-
+/*
+ printf ("(0x%x): Arm timer (%d). abstime=%d, value={%ld,%ld}, now={%ld, %ld}\n",\
+ pthread_self (), timerid, abstime, value -> tv_sec, value -> tv_nsec, now.tv_sec, now.tv_nsec);
+*/
struct itimerspec tvalue =
{
.it_value = (struct timespec) *value,
// NULL timer -> disarm
null_timer = (struct itimerspec) {
.it_value = {0, 0},
- .it_interval = 0,
+ .it_interval = {0, 0},
};
if (timer_settime (timerid, 0, &null_timer, &old))