Lines Matching refs:n_exec
31 int n_exec; variable
42 zassert_true(n_exec >= 0 && n_exec < NUM_THREADS, ""); in worker()
44 exec_order[n_exec++] = tidx; in worker()
60 n_exec = 0; in ZTEST()
91 zassert_true(n_exec == 0, "threads ran too soon"); in ZTEST()
100 zassert_true(n_exec == 0, "threads ran too soon"); in ZTEST()
104 zassert_true(n_exec == NUM_THREADS, "not enough threads ran"); in ZTEST()
123 zassert_true(n_exec >= 0 && n_exec < NUM_THREADS, ""); in yield_worker()
125 n_exec += 1; in yield_worker()
130 zassert_true(n_exec == NUM_THREADS, ""); in yield_worker()
147 n_exec = 0; in ZTEST()
162 zassert_true(n_exec == 0, "threads ran too soon"); in ZTEST()
166 zassert_true(n_exec == NUM_THREADS, "not enough threads ran"); in ZTEST()
175 zassert_true(n_exec >= 0 && n_exec < NUM_THREADS, ""); in unqueue_worker()
177 n_exec += 1; in unqueue_worker()
193 n_exec = 0; in ZTEST()
203 zassert_true(n_exec == 0, "threads ran too soon"); in ZTEST()
212 zassert_true(n_exec == 0, "deadline set make the unqueued thread run"); in ZTEST()
216 zassert_true(n_exec == NUM_THREADS, "not enough threads ran"); in ZTEST()