Home
last modified time | relevance | path

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

/Zephyr-latest/tests/posix/common/src/
Dpthread.c407 struct timespec not_done; in ZTEST() local
416 clock_gettime(CLOCK_MONOTONIC, &not_done); in ZTEST()
418 not_done.tv_nsec += sleep_duration_ms / 2 * NSEC_PER_MSEC; in ZTEST()
420 while (not_done.tv_nsec >= NSEC_PER_SEC) { in ZTEST()
421 not_done.tv_sec++; in ZTEST()
422 not_done.tv_nsec -= NSEC_PER_SEC; in ZTEST()
439 zassert_equal(pthread_timedjoin_np(th, &ret, &not_done), ETIMEDOUT); in ZTEST()