Home
last modified time | relevance | path

Searched refs:PTHREAD_PROCESS_PRIVATE (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/tests/posix/spinlocks/src/
Dmain.c16 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/
Dmain.c23 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/
Dmain.c127 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/
Dbarrier.c168 attr->pshared = PTHREAD_PROCESS_PRIVATE; in pthread_barrierattr_init()
175 if (pshared != PTHREAD_PROCESS_PRIVATE && pshared != PTHREAD_PROCESS_PUBLIC) { in pthread_barrierattr_setpshared()
Dspinlock.c80 !(pshared == PTHREAD_PROCESS_PRIVATE || pshared == PTHREAD_PROCESS_SHARED)) { in pthread_spin_init()
Drwlock.c418 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/
Dpthread.h32 #define PTHREAD_PROCESS_PRIVATE 0 macro
286 #define PTHREAD_PROCESS_PRIVATE 0 macro
/Zephyr-latest/tests/posix/headers/src/
Dpthread_h.c55 zassert_not_equal(-1, PTHREAD_PROCESS_PRIVATE); in ZTEST()