/glibc-2.36/sysdeps/nptl/ |
D | lowlevellock.h | 79 extern void __lll_lock_wait_private (int *futex); 81 extern void __lll_lock_wait (int *futex, int private); 94 #define __lll_lock(futex, private) \ argument 97 int *__futex = (futex); \ 107 #define lll_lock(futex, private) \ argument 108 __lll_lock (&(futex), private) 118 #define __lll_cond_lock(futex, private) \ argument 121 int *__futex = (futex); \ 125 #define lll_cond_lock(futex, private) __lll_cond_lock (&(futex), private) argument 128 extern void __lll_lock_wake_private (int *futex); [all …]
|
D | futex-internal.h | 317 __futex_clocklock64 (int *futex, clockid_t clockid, in __futex_clocklock64() argument 320 if (__glibc_unlikely (atomic_compare_and_exchange_bool_acq (futex, 1, 0))) in __futex_clocklock64() 322 while (atomic_exchange_acq (futex, 2) != 0) in __futex_clocklock64() 325 err = __futex_abstimed_wait64 ((unsigned int *) futex, 2, clockid, in __futex_clocklock64()
|
D | aio_misc.h | 35 #define AIO_MISC_WAIT(result, futex, timeout, cancel) \ argument 37 volatile unsigned int *futexaddr = &futex; \ 38 unsigned int oldval = futex; \
|
D | gai_misc.h | 36 #define GAI_MISC_WAIT(result, futex, timeout, cancel) \ argument 38 volatile unsigned int *futexaddr = &futex; \ 39 unsigned int oldval = futex; \
|
D | lowlevellock-futex.h | 59 long int __ret = INTERNAL_SYSCALL (futex, nargs, futexp, op, \
|
/glibc-2.36/nptl/ |
D | lowlevellock.c | 25 __lll_lock_wait_private (int *futex) in __lll_lock_wait_private() argument 27 if (atomic_load_relaxed (futex) == 2) in __lll_lock_wait_private() 28 goto futex; in __lll_lock_wait_private() 30 while (atomic_exchange_acquire (futex, 2) != 0) in __lll_lock_wait_private() 32 futex: in __lll_lock_wait_private() 33 LIBC_PROBE (lll_lock_wait_private, 1, futex); in __lll_lock_wait_private() 34 futex_wait ((unsigned int *) futex, 2, LLL_PRIVATE); /* Wait if *futex == 2. */ in __lll_lock_wait_private() 40 __lll_lock_wait (int *futex, int private) in libc_hidden_def() 42 if (atomic_load_relaxed (futex) == 2) in libc_hidden_def() 43 goto futex; in libc_hidden_def() [all …]
|
D | sem_wait.c | 56 int *futex = (int *) sem; in __old_sem_wait() local 61 if (atomic_decrement_if_positive (futex) > 0) in __old_sem_wait() 65 err = lll_futex_wait_cancel (futex, 0, LLL_SHARED); in __old_sem_wait() 96 int *futex = (int *) sem; in __old_sem_trywait() local 99 if (*futex > 0) in __old_sem_trywait() 101 val = atomic_decrement_if_positive (futex); in __old_sem_trywait()
|
D | sem_post.c | 89 unsigned int *futex = (unsigned int *) sem; in __old_sem_post() local 94 (void) atomic_increment_val (futex); in __old_sem_post() 96 futex_wake (futex, 1, LLL_SHARED); in __old_sem_post()
|
D | futex-internal.c | 40 return INTERNAL_SYSCALL_CANCEL (futex, futex_word, op, expected, in __futex_abstimed_wait_common32() 44 return INTERNAL_SYSCALL_CALL (futex, futex_word, op, expected, in __futex_abstimed_wait_common32() 176 err = INTERNAL_SYSCALL_CALL (futex, futex_word, op_pi, 0, pts32); in libc_hidden_def()
|
D | pthread_mutex_trylock.c | 291 int e = INTERNAL_SYSCALL_CALL (futex, &mutex->__data.__lock, in ___pthread_mutex_trylock()
|
D | Makefile | 51 futex-internal \ 263 CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables
|
/glibc-2.36/sysdeps/unix/sysv/linux/s390/ |
D | elision-unlock.c | 24 __lll_unlock_elision(int *futex, short *adapt_count, int private) in __lll_unlock_elision() argument 35 if (atomic_load_relaxed (futex) == 0) in __lll_unlock_elision() 58 lll_unlock ((*futex), private); in __lll_unlock_elision()
|
D | elision-trylock.c | 31 __lll_trylock_elision (int *futex, short *adapt_count) in __lll_trylock_elision() argument 64 if (__glibc_likely (atomic_load_relaxed (futex) == 0)) in __lll_trylock_elision() 96 return lll_trylock (*futex); in __lll_trylock_elision()
|
D | elision-lock.c | 40 __lll_lock_elision (int *futex, short *adapt_count, EXTRAARG int private) in __lll_lock_elision() argument 60 if (__glibc_likely (atomic_load_relaxed (futex) == 0)) in __lll_lock_elision() 118 return LLL_LOCK ((*futex), private); in __lll_lock_elision()
|
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/ |
D | elision-trylock.c | 31 __lll_trylock_elision (int *futex, short *adapt_count) in __lll_trylock_elision() argument 44 if (*futex == 0) in __lll_trylock_elision() 68 return lll_trylock (*futex); in __lll_trylock_elision()
|
/glibc-2.36/sysdeps/unix/sysv/linux/x86/ |
D | elision-trylock.c | 31 __lll_trylock_elision (int *futex, short *adapt_count) in __lll_trylock_elision() argument 48 if (*futex == 0) in __lll_trylock_elision() 74 return lll_trylock (*futex); in __lll_trylock_elision()
|
D | elision-lock.c | 39 __lll_lock_elision (int *futex, short *adapt_count, EXTRAARG int private) in __lll_lock_elision() argument 58 if (*futex == 0) in __lll_lock_elision() 100 return LLL_LOCK ((*futex), private); in __lll_lock_elision()
|
/glibc-2.36/sysdeps/unix/sysv/linux/i386/ |
D | tst-bz21269.c | 59 futex (int *uaddr, int futex_op, int val, void *timeout, int *uaddr2, in futex() function 138 futex ((int *) &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in threadproc() 212 futex ((int*) &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in do_test() 228 futex ((int*) &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in do_test()
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.22 | 4185 (futex-internal.h): Include file. 4316 htl: Add futex-internal.h 4318 * sysdeps/htl/futex-internal.h: New file. 5190 lowlevellock-futex: Remove not used macros 5192 * sysdeps/nptl/lowlevellock-futex.h: Modified. 5201 futex: Remove not used futex_reltimed_wait{_cancelable} 5203 * sysdeps/nptl/futex-internal.h: Modified. 5647 * sysdeps/nptl/futex-internal.h: Modified. 5684 * sysdeps/nptl/futex-internal.c: Modified. 5687 * sysdeps/nptl/futex-internal.h: Modified. [all …]
|
D | ChangeLog.nptl | 559 PI-aware futex operations if available and mutex is PI-aware. 564 cancellation occurred just after futex returned successfully 566 (__pthread_cond_wait): Use PI-aware futex operations if 1308 futex pointer into RDI_LP. Use RSP_LP to operate on stack. 1905 the async cancel enable and the futex operation. 1910 the async cancel enable and the futex operation. 2197 THREAD_SELF->cancelhandling after returning from futex call. 2373 path when not using absolute timeout futex. 2452 (LOAD_FUTEX_WAIT_ABS): Fix futex parameter in case private futexes 2950 If we time out, try one last time to lock the futex to avoid [all …]
|
D | ChangeLog.20 | 5188 (futex-internal.h): Include file. 5192 (futex-internal.h): Include file. 5195 (futex-internal.h): Include file. 5198 (futex-internal.h): Include file. 5201 (futex-internal.h): Include file. 5202 * sysdeps/nptl/futex-internal.h: Modified. 5205 * sysdeps/nptl/lowlevellock-futex.h: Modified. 5230 nptl: Replace non cancellable pause/nanosleep with futex 5255 Consolidate lowlevellock-futex.h 5257 * sysdeps/nptl/lowlevellock-futex.h: Modified. [all …]
|
D | ChangeLog.ports-hppa | 817 Use shared futex in lll_wait_tid().
|
D | ChangeLog.ports-m68k | 908 alignment of futex variables.
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | syscall-names.list | 147 futex
|
/glibc-2.36/manual/ |
D | users.texi | 313 @c clear SETXID_BITMASK and release the futex if SETXID_BITMASK is 319 @c issue the syscall, clear SETXID_BITMASK, release the futex, and
|