Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/spinlock/src/
Dspinlock_fairness.c23 static atomic_t fairness_test_cycles; variable
57 if (atomic_get(&fairness_test_cycles) == 0) { in test_thread()
71 atomic_dec(&fairness_test_cycles); in test_thread()
74 } while (atomic_get(&fairness_test_cycles) != 0); in test_thread()
84 atomic_set(&fairness_test_cycles, FAIRNESS_TEST_CYCLES_PER_CORE * CORES_NUM); in test_init()