Searched refs:sleep_duration_ms (Results 1 – 1 of 1) sorted by relevance
148 int sleep_duration_ms = POINTER_TO_INT(p1); in timedjoin_thread() local150 usleep(USEC_PER_MSEC * sleep_duration_ms); in timedjoin_thread()385 int sleep_duration_ms = 200; in ZTEST() local389 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST()392 usleep(USEC_PER_MSEC * sleep_duration_ms / 2); in ZTEST()396 usleep(USEC_PER_MSEC * sleep_duration_ms); in ZTEST()405 int sleep_duration_ms = 200; in ZTEST() local418 not_done.tv_nsec += sleep_duration_ms / 2 * NSEC_PER_MSEC; in ZTEST()419 done.tv_nsec += sleep_duration_ms * 1.5 * NSEC_PER_MSEC; in ZTEST()430 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST()