Home
last modified time | relevance | path

Searched refs:tvdeadline (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Modules/_multiprocessing/
Dsemaphore.c238 struct timeval now, tvdeadline, tvdelay; in sem_timedwait_save() local
241 tvdeadline.tv_sec = deadline->tv_sec; in sem_timedwait_save()
242 tvdeadline.tv_usec = deadline->tv_nsec / 1000; in sem_timedwait_save()
256 if (tvdeadline.tv_sec < now.tv_sec || in sem_timedwait_save()
257 (tvdeadline.tv_sec == now.tv_sec && in sem_timedwait_save()
258 tvdeadline.tv_usec <= now.tv_usec)) { in sem_timedwait_save()
264 difference = (tvdeadline.tv_sec - now.tv_sec) * 1000000 + in sem_timedwait_save()
265 (tvdeadline.tv_usec - now.tv_usec); in sem_timedwait_save()