Searched refs:sem_init (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/tests/posix/headers/src/ |
D | semaphore_h.c | 28 zassert_not_null(sem_init); in ZTEST()
|
/Zephyr-latest/include/zephyr/posix/ |
D | semaphore.h | 20 int sem_init(sem_t *semaphore, int pshared, unsigned int value);
|
/Zephyr-latest/tests/posix/semaphores/src/ |
D | main.c | 33 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/ |
D | posix_cheats.h | 94 #define sem_init(...) zap_sem_init(__VA_ARGS__) macro
|
/Zephyr-latest/lib/posix/options/ |
D | semaphore.c | 121 int sem_init(sem_t *semaphore, int pshared, unsigned int value) in sem_init() function
|
/Zephyr-latest/tests/posix/common/src/ |
D | pthread.c | 276 sem_init(&main_sem, 0, 1); in ZTEST()
|
/Zephyr-latest/doc/services/portability/posix/option_groups/ |
D | index.rst | 446 sem_init(),yes
|