Searched refs:sem0 (Results 1 – 1 of 1) sorted by relevance
26 struct k_sem sem0; in run_semaphore() local28 k_sem_init(&sem0, 0, 1); in run_semaphore()30 k_sem_give(&sem0); in run_semaphore()32 k_sem_take(&sem0, K_FOREVER); in run_semaphore()