Searched refs:THREAD_NUM (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/tests/lib/multi_heap/src/ |
D | test_mheap_concept.c | 10 #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/ |
D | test_mslab_threadsafe.c | 12 #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/ |
D | test_mslab_alloc_wait.c | 10 #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/ |
D | test_sched_priority.c | 10 #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()
|