Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/lockfree/src/
Dtest_mpsc.c74 #define MPSC_THREADS_NUM 4 macro
83 static struct thread_info mpsc_tinfo[MPSC_THREADS_NUM];
84 static struct k_thread mpsc_thread[MPSC_THREADS_NUM];
85 static K_THREAD_STACK_ARRAY_DEFINE(mpsc_stack, MPSC_THREADS_NUM, MPSC_STACK_SIZE);
101 LISTIFY(MPSC_THREADS_NUM, TEST_SPSC_DEFINE, (;), MPSC_FREEQ_SZ)
103 struct spsc_node_sq *node_q[MPSC_THREADS_NUM] = {
104 LISTIFY(MPSC_THREADS_NUM, SPSC_NAME, (,))
118 for (int i = 0; i < (MPSC_ITERATIONS)*(MPSC_THREADS_NUM - 1); i++) { in mpsc_consumer()
170 for (int i = 0; i < MPSC_THREADS_NUM; i++) { in ZTEST()
185 for (int i = 1; i < MPSC_THREADS_NUM; i++) { in ZTEST()
[all …]