Searched defs:shared (Results 1 - 2 of 2) sorted by relevance
/bionic/libc/bionic/ |
H A D | semaphore.c | 38 * 31-bit signed value and a 1-bit 'shared' flag 59 * for the shared flag. 66 * One bit is used for the shared flag, another one for the 86 /* return the shared bitflag from a semaphore */ 165 unsigned int shared = (*pvalue & SEMCOUNT_SHARED_MASK); local 177 while (__atomic_cmpxchg((int)(old|shared), 178 (int)(new|shared), 189 unsigned int shared = (*pvalue & SEMCOUNT_SHARED_MASK); local 201 while (__atomic_cmpxchg((int)(old|shared), 202 (int)(new|shared), 219 unsigned int shared = (*pvalue & SEMCOUNT_SHARED_MASK); local 248 unsigned shared; local 270 unsigned int shared; local 338 unsigned int shared; local [all...] |
H A D | pthread.c | 302 * locks (e.g. atexit()) to protect shared global structures. 741 * 13 shared process-shared flag 763 * 4 shared process-shared flag 813 /* process-shared mutexes are not supported at the moment */ 826 /* our current implementation of pthread actually supports shared 911 /* We need to preserve the shared flag during operations */ 912 int shared = mutex->value & MUTEX_SHARED_MASK; local 919 if (__atomic_cmpxchg(shared| 952 int shared = mutex->value & MUTEX_SHARED_MASK; local 1017 int mtype, tid, new_lock_type, shared; local 1096 int mtype, tid, oldv, shared; local 1136 int mtype, tid, oldv, shared; local 1230 int mtype, tid, oldv, new_lock_type, shared; local [all...] |
Completed in 101 milliseconds