Home
last modified time | relevance | path

Searched refs:__readers (Results 1 – 22 of 22) sorted by relevance

/glibc-2.36/nptl/
Dpthread_rwlock_common.c232 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 …]
Dpthread_rwlock_trywrlock.c37 unsigned int r = atomic_load_relaxed (&rwlock->__data.__readers); in ___pthread_rwlock_trywrlock()
46 &rwlock->__data.__readers, &r, in ___pthread_rwlock_trywrlock()
Dpthread_rwlock_tryrdlock.c39 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()
Dtst-rwlock19.c86 lock.__data.__readers = readers; in do_test()
116 if (lock.__data.__readers != readers) in do_test()
/glibc-2.36/sysdeps/htl/
Dpt-rwlock-timedrdlock.c43 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()
Dpt-rwlock-unlock.c35 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()
Dpt-rwlock-tryrdlock.c34 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()
Dpt-rwlock-timedwrlock.c43 assert (rwlock->__readers == 0); in __pthread_rwlock_timedwrlock_internal()
97 assert (rwlock->__readers == 0); in __pthread_rwlock_timedwrlock_internal()
Dpt-rwlock-trywrlock.c34 assert (rwlock->__readers == 0); in pthread_rwlock_trywrlock()
/glibc-2.36/sysdeps/alpha/nptl/bits/
Dstruct_rwlock.h25 unsigned int __readers; member
/glibc-2.36/sysdeps/aarch64/nptl/bits/
Dstruct_rwlock.h25 unsigned int __readers; member
/glibc-2.36/sysdeps/ia64/nptl/bits/
Dstruct_rwlock.h25 unsigned int __readers; member
/glibc-2.36/sysdeps/htl/bits/types/
Dstruct___pthread_rwlock.h33 int __readers; member
/glibc-2.36/sysdeps/hppa/nptl/bits/
Dstruct_rwlock.h30 unsigned int __readers; member
/glibc-2.36/sysdeps/sparc/nptl/bits/
Dstruct_rwlock.h25 unsigned int __readers; member
/glibc-2.36/sysdeps/s390/nptl/bits/
Dstruct_rwlock.h25 unsigned int __readers; member
/glibc-2.36/sysdeps/nptl/bits/
Dstruct_rwlock.h31 unsigned int __readers; member
/glibc-2.36/sysdeps/powerpc/nptl/bits/
Dstruct_rwlock.h25 unsigned int __readers; member
/glibc-2.36/sysdeps/x86/nptl/bits/
Dstruct_rwlock.h25 unsigned int __readers; member
/glibc-2.36/sysdeps/riscv/nptl/bits/
Dstruct_rwlock.h29 unsigned int __readers; member
/glibc-2.36/sysdeps/mips/nptl/bits/
Dstruct_rwlock.h24 unsigned int __readers; member
/glibc-2.36/ChangeLog.old/
DChangeLog.1910105 __readers while waiting on PTHREAD_RWLOCK_RWAITING.