Searched refs:pshared (Results 1 - 6 of 6) sorted by relevance
/bionic/libc/private/ |
H A D | bionic_futex.h | 54 /* Like __futex_wait/wake, but take an additionnal 'pshared' argument. 57 extern int __futex_wake_ex(volatile void *ftx, int pshared, int val); 58 extern int __futex_wait_ex(volatile void *ftx, int pshared, int val, const struct timespec *timeout);
|
/bionic/libc/include/ |
H A D | semaphore.h | 41 extern int sem_init(sem_t *sem, int pshared, unsigned int value);
|
H A D | pthread.h | 161 int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared); 162 int pthread_mutexattr_getpshared(pthread_mutexattr_t *attr, int *pshared); 173 int pthread_condattr_getpshared(pthread_condattr_t *attr, int *pshared); 174 int pthread_condattr_setpshared(pthread_condattr_t* attr, int pshared); 244 int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *attr, int pshared); 245 int pthread_rwlockattr_getpshared(pthread_rwlockattr_t *attr, int *pshared);
|
/bionic/libc/bionic/ |
H A D | pthread-rwlocks.c | 79 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 D | pthread.c | 50 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...] |
H A D | semaphore.c | 90 int sem_init(sem_t *sem, int pshared, unsigned int value) argument 104 if (pshared != 0)
|
Completed in 898 milliseconds