Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/mem_protect/futex/src/
Dmain.c40 ZTEST_BMEM struct k_futex multiple_futex[TOTAL_THREADS_WAITING]; variable
141 ret_value = k_futex_wake(&multiple_futex[idx], in futex_multiple_wake_task()
155 ret_value = k_futex_wait(&multiple_futex[idx], in futex_multiple_wait_wake_task()
156 atomic_get(&(multiple_futex[idx].val)), K_TICKS(time_val)); in futex_multiple_wait_wake_task()
160 atomic_sub(&(multiple_futex[idx].val), 1); in futex_multiple_wait_wake_task()
392 atomic_set(&multiple_futex[i].val, 1); in ZTEST()
413 zassert_true(atomic_get(&multiple_futex[i].val) == 0, in ZTEST()