Home
last modified time | relevance | path

Searched refs:THREAD_NUM (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/tests/lib/multi_heap/src/
Dtest_mheap_concept.c10 #define THREAD_NUM 3 macro
15 static K_THREAD_STACK_ARRAY_DEFINE(tstack, THREAD_NUM, STACK_SIZE);
16 static struct k_thread tdata[THREAD_NUM];
81 k_tid_t tid[THREAD_NUM]; in ZTEST()
83 k_sem_init(&sync_sema, 0, THREAD_NUM); in ZTEST()
86 for (int i = 0; i < THREAD_NUM; i++) { in ZTEST()
92 for (int i = 0; i < THREAD_NUM; i++) { in ZTEST()
96 for (int i = 0; i < THREAD_NUM; i++) { in ZTEST()
/Zephyr-Core-3.7.0/tests/kernel/mem_slab/mslab_threadsafe/src/
Dtest_mslab_threadsafe.c12 #define THREAD_NUM 4 macro
29 #define SLAB_BLOCKS (THREAD_NUM * (BLK_NUM - 1) + 1)
33 static K_THREAD_STACK_ARRAY_DEFINE(tstack, THREAD_NUM, STACK_SIZE);
34 static struct k_thread tdata[THREAD_NUM];
37 static volatile bool success[THREAD_NUM];
76 k_tid_t tid[THREAD_NUM]; in ZTEST()
81 for (int i = 0; i < THREAD_NUM; i++) { in ZTEST()
88 for (int i = 0; i < THREAD_NUM; i++) { in ZTEST()
/Zephyr-Core-3.7.0/tests/kernel/mem_slab/mslab_concept/src/
Dtest_mslab_alloc_wait.c10 #define THREAD_NUM 3 macro
15 static K_THREAD_STACK_ARRAY_DEFINE(tstack, THREAD_NUM, STACK_SIZE);
16 static struct k_thread tdata[THREAD_NUM];
54 k_tid_t tid[THREAD_NUM]; in ZTEST()
56 k_sem_init(&sync_sema, 0, THREAD_NUM); in ZTEST()
89 for (int i = 0; i < THREAD_NUM; i++) { in ZTEST()
94 for (int i = 0; i < THREAD_NUM; i++) { in ZTEST()
/Zephyr-Core-3.7.0/tests/kernel/sched/schedule_api/src/
Dtest_sched_priority.c10 #define THREAD_NUM 4 macro
12 static struct k_thread tdata_prio[THREAD_NUM];
126 k_tid_t tid[THREAD_NUM]; in ZTEST()
129 k_sem_init(&sync_sema, 0, THREAD_NUM); in ZTEST()
158 for (int i = 0; i < THREAD_NUM; i++) { in ZTEST()
166 for (int i = 0; i < THREAD_NUM; i++) { in ZTEST()