Searched refs:pTo (Results 1 – 2 of 2) sorted by relevance
66 static bool sigwrap_CheckTimeout(SIGWRAP_TIMEOUT *pTo) in sigwrap_CheckTimeout() argument68 …if (pTo->OnePoll == TRUE) // Make sure, that in the case that a single poll is requested at least … in sigwrap_CheckTimeout()75 …if (Now.tv_sec > pTo->EndTime.tv_sec) // Can become a problem already in 2038 due to signed intege… in sigwrap_CheckTimeout()78 pTo->Timeout.tv_nsec = pTo->EndTime.tv_nsec - Now.tv_nsec; in sigwrap_CheckTimeout()79 pTo->Timeout.tv_sec = pTo->EndTime.tv_sec - Now.tv_sec; in sigwrap_CheckTimeout()81 if (pTo->Timeout.tv_sec == 0) in sigwrap_CheckTimeout()83 if (pTo->Timeout.tv_nsec <= 0) in sigwrap_CheckTimeout()86 else if (pTo->Timeout.tv_nsec < 0) in sigwrap_CheckTimeout()88 pTo->Timeout.tv_nsec += OneSecondasNS; in sigwrap_CheckTimeout()89 pTo->Timeout.tv_sec--; in sigwrap_CheckTimeout()