Lines Matching +full:n +full:- +full:th
4 * SPDX-License-Identifier: Apache-2.0
39 pthread_t th; in create_thread_common_entry() local
46 zassert_ok(pthread_create(&th, attrp, entry, arg)); in create_thread_common_entry()
48 zassert_not_ok(pthread_create(&th, attrp, entry, arg)); in create_thread_common_entry()
53 zassert_ok(pthread_join(th, NULL), "failed to join joinable thread"); in create_thread_common_entry()
58 zassert_not_ok(pthread_join(th, NULL)); in create_thread_common_entry()
139 /* can re-initialize a destroyed attr */ in ZTEST()
403 TC_PRINT("Unable to allocate large stack of size %zu (skipping)\n", expect_size); in ZTEST()
461 int pmin = -1; in ZTEST()
462 int pmax = -1; in ZTEST()
508 zassert_equal(-1, param.sched_priority); in ZTEST()
513 zassert_not_equal(-1, param.sched_priority, in ZTEST()
524 * IEEE 1003.1-2008 Section 2.8.4 in ZTEST()
536 * cooperative threads use [-CONFIG_NUM_COOP_PRIORITIES,-1] and in ZTEST()
537 * preemptive threads use [0, CONFIG_NUM_PREEMPT_PRIORITIES - 1], in ZTEST()
539 * cannot map those directly (a return value of -1 indicates error), in ZTEST()
543 zassert_equal(pmax, nprio[policy] - 1, "unexpected pmax for %s", in ZTEST()