27 return errno_ == EAGAIN || errno_ == EINTR || errno_ == EWOULDBLOCK;
38 if (0 != clock_gettime(CLOCK_MONOTONIC, &ts)) {
41 tv->tv_sec = ts.tv_sec;
42 tv->tv_usec = ts.tv_nsec / 1000L;
48 return (0 == gettimeofday(tv, NULL));
bool Util_IsResumableIOError(int errno_)
bool Util_Timestamp(struct timeval *tv, bool relative)