Lines Matching refs:itime
96 auto struct itimerval itime;
166 timersub(&SmEventQueue->ev_time, &now, &itime.it_value);
167 itime.it_interval.tv_sec = 0;
168 itime.it_interval.tv_usec = 0;
169 if (itime.it_value.tv_sec < 0)
170 itime.it_value.tv_sec = 0;
171 if (itime.it_value.tv_sec == 0 && itime.it_value.tv_usec == 0)
172 itime.it_value.tv_usec = 1000;
173 (void) setitimer(ITIMER_REAL, &itime, NULL);