Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/sleep/src/
Dmain.c38 static struct k_sem test_thread_sem; variable
72 k_sem_init(&test_thread_sem, 0, UINT_MAX); in test_objects_init()
110 k_sem_take(&test_thread_sem, K_FOREVER); in test_thread()
220 k_sem_give(&test_thread_sem); in ZTEST()
247 k_sem_give(&test_thread_sem); in forever_thread_entry()
265 k_sem_take(&test_thread_sem, K_FOREVER); in ZTEST()
271 k_thread_access_grant(k_current_get(), &test_thread_sem); in sleep_setup()