Lines Matching refs:delay
338 static struct timeval delay;
357 delay.tv_sec = after.sec - before.sec;
358 delay.tv_usec = after.usec - before.usec;
359 if (delay.tv_usec < 0) {
360 delay.tv_usec += 1000000;
361 delay.tv_sec -= 1;
365 * Special note: must convert delay.tv_sec to int before comparing
366 * to zero, since delay.tv_usec is unsigned on some platforms.
369 if ((((int) delay.tv_sec) < 0)
370 || ((delay.tv_usec == 0) && (delay.tv_sec == 0))) {
374 (SELECT_MASK *) 0, &delay);