Searched refs:seltime (Results 1 – 1 of 1) sorted by relevance
605 struct timeval seltime, now; in conloop() local615 seltime = c->c_tv; in conloop()616 seltime.tv_sec -= now.tv_sec; in conloop()617 seltime.tv_usec -= now.tv_usec; in conloop()618 if (seltime.tv_usec < 0) { in conloop()619 seltime.tv_usec += 1000000; in conloop()620 seltime.tv_sec--; in conloop()623 timerclear(&seltime); in conloop()630 while (select(maxfd, r, NULL, e, &seltime) == -1 && in conloop()