Home
last modified time | relevance | path

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

/Zephyr-latest/tests/posix/headers/src/
Dsemaphore_h.c28 zassert_not_null(sem_init); in ZTEST()
/Zephyr-latest/include/zephyr/posix/
Dsemaphore.h20 int sem_init(sem_t *semaphore, int pshared, unsigned int value);
/Zephyr-latest/tests/posix/semaphores/src/
Dmain.c33 zassert_equal(sem_init(sem, 0, (CONFIG_POSIX_SEM_VALUE_MAX + 1)), -1, in semaphore_test()
37 zassert_equal(sem_init(sem, 0, 0), 0, "sem_init failed"); in semaphore_test()
70 zassert_equal(sem_init(sem, 0, 1), 0, "sem_init failed"); in semaphore_test()
/Zephyr-latest/arch/posix/include/
Dposix_cheats.h94 #define sem_init(...) zap_sem_init(__VA_ARGS__) macro
/Zephyr-latest/lib/posix/options/
Dsemaphore.c121 int sem_init(sem_t *semaphore, int pshared, unsigned int value) in sem_init() function
/Zephyr-latest/tests/posix/common/src/
Dpthread.c276 sem_init(&main_sem, 0, 1); in ZTEST()
/Zephyr-latest/doc/services/portability/posix/option_groups/
Dindex.rst446 sem_init(),yes