/glibc-2.36/nptl/ |
D | pthread_rwlock_common.c | 232 unsigned int r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_rdunlock() 254 if (atomic_compare_exchange_weak_release (&rwlock->__data.__readers, in __pthread_rwlock_rdunlock() 276 futex_wake (&rwlock->__data.__readers, INT_MAX, private); in __pthread_rwlock_rdunlock() 312 r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_rdlock_full64() 322 (&rwlock->__data.__readers, &r, r | PTHREAD_RWLOCK_RWAITING)) in __pthread_rwlock_rdlock_full64() 328 while (((r = atomic_load_relaxed (&rwlock->__data.__readers)) in __pthread_rwlock_rdlock_full64() 332 int err = __futex_abstimed_wait64 (&rwlock->__data.__readers, in __pthread_rwlock_rdlock_full64() 353 r = (atomic_fetch_add_acquire (&rwlock->__data.__readers, in __pthread_rwlock_rdlock_full64() 376 (&rwlock->__data.__readers, in __pthread_rwlock_rdlock_full64() 402 if (atomic_compare_exchange_weak_acquire (&rwlock->__data.__readers, &r, in __pthread_rwlock_rdlock_full64() [all …]
|
D | pthread_rwlock_trywrlock.c | 37 unsigned int r = atomic_load_relaxed (&rwlock->__data.__readers); in ___pthread_rwlock_trywrlock() 46 &rwlock->__data.__readers, &r, in ___pthread_rwlock_trywrlock()
|
D | pthread_rwlock_tryrdlock.c | 39 unsigned int r = atomic_load_relaxed (&rwlock->__data.__readers); in ___pthread_rwlock_tryrdlock() 88 while (!atomic_compare_exchange_weak_acquire (&rwlock->__data.__readers, in ___pthread_rwlock_tryrdlock()
|
D | tst-rwlock19.c | 86 lock.__data.__readers = readers; in do_test() 116 if (lock.__data.__readers != readers) in do_test()
|
/glibc-2.36/sysdeps/htl/ |
D | pt-rwlock-timedrdlock.c | 43 assert (rwlock->__readers == 0); in __pthread_rwlock_timedrdlock_internal() 45 rwlock->__readers = 1; in __pthread_rwlock_timedrdlock_internal() 51 if (rwlock->__readers > 0) in __pthread_rwlock_timedrdlock_internal() 55 rwlock->__readers++; in __pthread_rwlock_timedrdlock_internal() 63 assert (rwlock->__readers == 0); in __pthread_rwlock_timedrdlock_internal() 114 assert (rwlock->__readers > 0); in __pthread_rwlock_timedrdlock_internal()
|
D | pt-rwlock-unlock.c | 35 if (rwlock->__readers > 1) in __pthread_rwlock_unlock() 38 rwlock->__readers--; in __pthread_rwlock_unlock() 43 if (rwlock->__readers == 1) in __pthread_rwlock_unlock() 45 rwlock->__readers = 0; in __pthread_rwlock_unlock() 79 rwlock->__readers += n; in __pthread_rwlock_unlock()
|
D | pt-rwlock-tryrdlock.c | 34 assert (rwlock->__readers == 0); in pthread_rwlock_tryrdlock() 36 rwlock->__readers = 1; in pthread_rwlock_tryrdlock() 42 if (rwlock->__readers > 0) in pthread_rwlock_tryrdlock() 45 rwlock->__readers++; in pthread_rwlock_tryrdlock()
|
D | pt-rwlock-timedwrlock.c | 43 assert (rwlock->__readers == 0); in __pthread_rwlock_timedwrlock_internal() 97 assert (rwlock->__readers == 0); in __pthread_rwlock_timedwrlock_internal()
|
D | pt-rwlock-trywrlock.c | 34 assert (rwlock->__readers == 0); in pthread_rwlock_trywrlock()
|
/glibc-2.36/sysdeps/alpha/nptl/bits/ |
D | struct_rwlock.h | 25 unsigned int __readers; member
|
/glibc-2.36/sysdeps/aarch64/nptl/bits/ |
D | struct_rwlock.h | 25 unsigned int __readers; member
|
/glibc-2.36/sysdeps/ia64/nptl/bits/ |
D | struct_rwlock.h | 25 unsigned int __readers; member
|
/glibc-2.36/sysdeps/htl/bits/types/ |
D | struct___pthread_rwlock.h | 33 int __readers; member
|
/glibc-2.36/sysdeps/hppa/nptl/bits/ |
D | struct_rwlock.h | 30 unsigned int __readers; member
|
/glibc-2.36/sysdeps/sparc/nptl/bits/ |
D | struct_rwlock.h | 25 unsigned int __readers; member
|
/glibc-2.36/sysdeps/s390/nptl/bits/ |
D | struct_rwlock.h | 25 unsigned int __readers; member
|
/glibc-2.36/sysdeps/nptl/bits/ |
D | struct_rwlock.h | 31 unsigned int __readers; member
|
/glibc-2.36/sysdeps/powerpc/nptl/bits/ |
D | struct_rwlock.h | 25 unsigned int __readers; member
|
/glibc-2.36/sysdeps/x86/nptl/bits/ |
D | struct_rwlock.h | 25 unsigned int __readers; member
|
/glibc-2.36/sysdeps/riscv/nptl/bits/ |
D | struct_rwlock.h | 29 unsigned int __readers; member
|
/glibc-2.36/sysdeps/mips/nptl/bits/ |
D | struct_rwlock.h | 24 unsigned int __readers; member
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.19 | 10105 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
|