Searched refs:PTHREAD_PROCESS_PRIVATE (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/tests/posix/spinlocks/src/ |
D | main.c | 16 zassert_equal(pthread_spin_init(NULL, PTHREAD_PROCESS_PRIVATE), EINVAL, in ZTEST() 23 zassert_ok(pthread_spin_init(&lock, PTHREAD_PROCESS_PRIVATE), "pthread_spin_init() failed"); in ZTEST() 33 zassert_ok(pthread_spin_init(&lock[i], PTHREAD_PROCESS_PRIVATE), in ZTEST() 38 PTHREAD_PROCESS_PRIVATE), in ZTEST() 61 zassert_ok(pthread_spin_init(&lock, PTHREAD_PROCESS_PRIVATE), "pthread_spin_init() failed"); in ZTEST()
|
/Zephyr-latest/tests/posix/barriers/src/ |
D | main.c | 23 zassert_equal(pshared, PTHREAD_PROCESS_PRIVATE, "pshared attribute not set correctly"); in ZTEST() 25 ret = pthread_barrierattr_setpshared(&attr, PTHREAD_PROCESS_PRIVATE); in ZTEST()
|
/Zephyr-latest/tests/posix/rwlocks/src/ |
D | main.c | 127 zassert_equal(tmp_pshared, PTHREAD_PROCESS_PRIVATE); in test_pthread_rwlockattr_pshared_common() 143 test_pthread_rwlockattr_pshared_common(true, PTHREAD_PROCESS_PRIVATE); in ZTEST()
|
/Zephyr-latest/lib/posix/options/ |
D | barrier.c | 168 attr->pshared = PTHREAD_PROCESS_PRIVATE; in pthread_barrierattr_init() 175 if (pshared != PTHREAD_PROCESS_PRIVATE && pshared != PTHREAD_PROCESS_PUBLIC) { in pthread_barrierattr_setpshared()
|
D | spinlock.c | 80 !(pshared == PTHREAD_PROCESS_PRIVATE || pshared == PTHREAD_PROCESS_SHARED)) { in pthread_spin_init()
|
D | rwlock.c | 418 if (!(pshared == PTHREAD_PROCESS_PRIVATE || pshared == PTHREAD_PROCESS_SHARED)) { in pthread_rwlockattr_setpshared() 437 .pshared = PTHREAD_PROCESS_PRIVATE, in pthread_rwlockattr_init()
|
/Zephyr-latest/include/zephyr/posix/ |
D | pthread.h | 32 #define PTHREAD_PROCESS_PRIVATE 0 macro 286 #define PTHREAD_PROCESS_PRIVATE 0 macro
|
/Zephyr-latest/tests/posix/headers/src/ |
D | pthread_h.c | 55 zassert_not_equal(-1, PTHREAD_PROCESS_PRIVATE); in ZTEST()
|