Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/tests/posix/common/src/
Dsemaphore.c59 zassert_equal(sem_init(&sema, 0, (CONFIG_SEM_VALUE_MAX + 1)), -1, in ZTEST()
63 zassert_equal(sem_init(&sema, 0, 0), 0, "sem_init failed"); in ZTEST()
110 zassert_equal(sem_init(&sema, 0, 1), 0, "sem_init failed"); in ZTEST()
Dpthread.c253 sem_init(&main_sem, 0, 1); in ZTEST()
/Zephyr-Core-3.4.0/tests/posix/headers/src/
Dsemaphore_h.c28 zassert_not_null(sem_init); in ZTEST()
/Zephyr-Core-3.4.0/include/zephyr/posix/
Dsemaphore.h18 int sem_init(sem_t *semaphore, int pshared, unsigned int value);
/Zephyr-Core-3.4.0/lib/posix/
Dsemaphore.c52 int sem_init(sem_t *semaphore, int pshared, unsigned int value) in sem_init() function
/Zephyr-Core-3.4.0/arch/posix/include/
Dposix_cheats.h94 #define sem_init(...) zap_sem_init(__VA_ARGS__) macro