Searched refs:last_prio (Results 1 – 2 of 2) sorted by relevance
14 static int last_prio; variable21 last_prio = k_thread_priority_get(k_current_get()); in thread_entry()52 last_prio = -1; in ZTEST()53 k_thread_priority_set(k_current_get(), last_prio); in ZTEST()56 int spawn_prio = last_prio - 1; in ZTEST()62 zassert_true(last_prio == k_thread_priority_get(k_current_get())); in ZTEST()65 zassert_true(last_prio == spawn_prio); in ZTEST()88 last_prio = 2; in ZTEST()89 k_thread_priority_set(k_current_get(), last_prio); in ZTEST()91 int spawn_prio = last_prio - 1; in ZTEST()[all …]
11 static ZTEST_BMEM int last_prio; variable15 last_prio = k_thread_priority_get(k_current_get()); in thread_entry()21 last_prio = prio; in threads_suspend_resume()22 k_thread_priority_set(k_current_get(), last_prio); in threads_suspend_resume()25 int create_prio = last_prio + 1; in threads_suspend_resume()34 zassert_false(last_prio == create_prio); in threads_suspend_resume()38 zassert_true(last_prio == create_prio); in threads_suspend_resume()