Searched refs:sem_init (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.4.0/tests/posix/common/src/ |
D | semaphore.c | 59 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()
|
D | pthread.c | 253 sem_init(&main_sem, 0, 1); in ZTEST()
|
/Zephyr-Core-3.4.0/tests/posix/headers/src/ |
D | semaphore_h.c | 28 zassert_not_null(sem_init); in ZTEST()
|
/Zephyr-Core-3.4.0/include/zephyr/posix/ |
D | semaphore.h | 18 int sem_init(sem_t *semaphore, int pshared, unsigned int value);
|
/Zephyr-Core-3.4.0/lib/posix/ |
D | semaphore.c | 52 int sem_init(sem_t *semaphore, int pshared, unsigned int value) in sem_init() function
|
/Zephyr-Core-3.4.0/arch/posix/include/ |
D | posix_cheats.h | 94 #define sem_init(...) zap_sem_init(__VA_ARGS__) macro
|