Searched defs:pshared (Results 1 - 3 of 3) sorted by relevance

/bionic/libc/bionic/
H A Dpthread-rwlocks.c79 int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *attr, int pshared) argument
84 switch (pshared) {
87 *attr = pshared;
94 int pthread_rwlockattr_getpshared(pthread_rwlockattr_t *attr, int *pshared) argument
96 if (!attr || !pshared)
99 *pshared = *attr;
H A Dsemaphore.c90 int sem_init(sem_t *sem, int pshared, unsigned int value) argument
104 if (pshared != 0)
H A Dpthread.c50 int __futex_wake_ex(volatile void *ftx, int pshared, int val) argument
52 return __futex_syscall3(ftx, pshared ? FUTEX_WAKE : FUTEX_WAKE_PRIVATE, val);
55 int __futex_wait_ex(volatile void *ftx, int pshared, int val, const struct timespec *timeout) argument
57 return __futex_syscall4(ftx, pshared ? FUTEX_WAIT : FUTEX_WAIT_PRIVATE, val, timeout);
362 int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared) argument
367 switch (pshared) {
384 int pthread_mutexattr_getpshared(pthread_mutexattr_t *attr, int *pshared) argument
386 if (!attr || !pshared)
389 *pshared = (*attr & MUTEXATTR_SHARED_MASK) ? PTHREAD_PROCESS_SHARED
986 int pthread_condattr_getpshared(pthread_condattr_t *attr, int *pshared) argument
995 pthread_condattr_setpshared(pthread_condattr_t *attr, int pshared) argument
[all...]

Completed in 2290 milliseconds