Lines Matching refs:th
384 pthread_t th = {0}; in ZTEST() local
389 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST()
393 zassert_equal(pthread_tryjoin_np(th, &retval), EBUSY); in ZTEST()
399 zassert_ok(pthread_tryjoin_np(th, &retval)); in ZTEST()
404 pthread_t th = {0}; in ZTEST() local
430 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST()
433 zassert_equal(pthread_timedjoin_np(th, &ret, NULL), EINVAL); in ZTEST()
435 zassert_equal(pthread_timedjoin_np(th, &ret, &invalid[i]), EINVAL); in ZTEST()
439 zassert_equal(pthread_timedjoin_np(th, &ret, ¬_done), ETIMEDOUT); in ZTEST()
442 zassert_ok(pthread_timedjoin_np(th, &ret, &done)); in ZTEST()
544 pthread_t th; in ZTEST() local
546 zassert_ok(pthread_create(&th, NULL, test_pthread_cleanup_entry, NULL)); in ZTEST()
547 zassert_ok(pthread_join(th, NULL)); in ZTEST()
582 pthread_t th; in ZTEST() local
584 zassert_ok(pthread_create(&th, NULL, test_pthread_cancel_fn, NULL)); in ZTEST()
585 zassert_ok(pthread_join(th, NULL)); in ZTEST()
610 pthread_t th; in ZTEST() local
612 zassert_ok(pthread_create(&th, NULL, test_pthread_setschedprio_fn, NULL)); in ZTEST()
613 zassert_ok(pthread_join(th, NULL)); in ZTEST()