/glibc-2.36/nptl/ |
D | libc-cleanup.c | 29 int cancelhandling = atomic_load_relaxed (&self->cancelhandling); in __libc_cleanup_push_defer() local 32 if (__glibc_unlikely (cancelhandling & CANCELTYPE_BITMASK)) in __libc_cleanup_push_defer() 37 newval = cancelhandling & ~CANCELTYPE_BITMASK; in __libc_cleanup_push_defer() 39 while (!atomic_compare_exchange_weak_acquire (&self->cancelhandling, in __libc_cleanup_push_defer() 40 &cancelhandling, in __libc_cleanup_push_defer() 44 buffer->__canceltype = (cancelhandling & CANCELTYPE_BITMASK in __libc_cleanup_push_defer() 59 int cancelhandling = atomic_load_relaxed (&self->cancelhandling); in libc_hidden_def() local 61 && (cancelhandling & CANCELTYPE_BITMASK) == 0) in libc_hidden_def() 66 newval = cancelhandling | CANCELTYPE_BITMASK; in libc_hidden_def() 68 while (!atomic_compare_exchange_weak_acquire (&self->cancelhandling, in libc_hidden_def() [all …]
|
D | cleanup_defer.c | 33 int cancelhandling = atomic_load_relaxed (&self->cancelhandling); in ___pthread_register_cancel_defer() local 34 if (__glibc_unlikely (cancelhandling & CANCELTYPE_BITMASK)) in ___pthread_register_cancel_defer() 39 newval = cancelhandling & ~CANCELTYPE_BITMASK; in ___pthread_register_cancel_defer() 41 while (!atomic_compare_exchange_weak_acquire (&self->cancelhandling, in ___pthread_register_cancel_defer() 42 &cancelhandling, in ___pthread_register_cancel_defer() 46 ibuf->priv.data.canceltype = (cancelhandling & CANCELTYPE_BITMASK in ___pthread_register_cancel_defer() 73 int cancelhandling = atomic_load_relaxed (&self->cancelhandling); in ___pthread_unregister_cancel_restore() local 74 if ((cancelhandling & CANCELTYPE_BITMASK) == 0) in ___pthread_unregister_cancel_restore() 79 newval = cancelhandling | CANCELTYPE_BITMASK; in ___pthread_unregister_cancel_restore() 81 while (!atomic_compare_exchange_weak_acquire (&self->cancelhandling, in ___pthread_unregister_cancel_restore() [all …]
|
D | cancellation.c | 33 int oldval = atomic_load_relaxed (&self->cancelhandling); in __pthread_enable_asynccancel() 42 if (atomic_compare_exchange_weak_acquire (&self->cancelhandling, in __pthread_enable_asynccancel() 71 int oldval = atomic_load_relaxed (&self->cancelhandling); in libc_hidden_def() 76 while (!atomic_compare_exchange_weak_acquire (&self->cancelhandling, in libc_hidden_def() 86 futex_wait_simple ((unsigned int *) &self->cancelhandling, newval, in libc_hidden_def() 88 newval = atomic_load_relaxed (&self->cancelhandling); in libc_hidden_def()
|
D | nptl_setxid.c | 81 flags = THREAD_GETMEM (self, cancelhandling); in __nptl_setxid_sighandler() 82 newval = THREAD_ATOMIC_CMPXCHG_VAL (self, cancelhandling, in __nptl_setxid_sighandler() 113 ch = t->cancelhandling; in libc_hidden_def() 128 while (atomic_compare_and_exchange_bool_acq (&t->cancelhandling, in libc_hidden_def() 140 ch = t->cancelhandling; in setxid_unmark_thread() 144 while (atomic_compare_and_exchange_bool_acq (&t->cancelhandling, in setxid_unmark_thread() 156 if ((t->cancelhandling & SETXID_BITMASK) == 0) in setxid_signal_thread()
|
D | pthread_cancel.c | 45 int oldval = atomic_load_relaxed (&self->cancelhandling); in sigcancel_handler() 57 if (atomic_compare_exchange_weak_acquire (&self->cancelhandling, in sigcancel_handler() 120 int oldval = atomic_load_relaxed (&pd->cancelhandling); in __pthread_cancel() 136 if (!atomic_compare_exchange_weak_acquire (&pd->cancelhandling, in __pthread_cancel() 167 while (!atomic_compare_exchange_weak_acquire (&pd->cancelhandling, &oldval, in __pthread_cancel()
|
D | pthread_testcancel.c | 26 int cancelhandling = atomic_load_relaxed (&self->cancelhandling); in ___pthread_testcancel() local 27 if (cancel_enabled_and_canceled (cancelhandling)) in ___pthread_testcancel()
|
D | pthread_setcancelstate.c | 33 int oldval = atomic_load_relaxed (&self->cancelhandling); in __pthread_setcancelstate() 47 if (atomic_compare_exchange_weak_acquire (&self->cancelhandling, in __pthread_setcancelstate()
|
D | pthread_setcanceltype.c | 31 int oldval = atomic_load_relaxed (&self->cancelhandling); in __pthread_setcanceltype() 45 if (atomic_compare_exchange_weak_acquire (&self->cancelhandling, in __pthread_setcanceltype()
|
D | pthread_join_common.c | 59 && (pd->cancelhandling in __pthread_clockjoin_ex() 62 && !cancel_enabled_and_canceled (self->cancelhandling)) in __pthread_clockjoin_ex()
|
D | pthread_create.c | 490 atomic_bit_set (&pd->cancelhandling, EXITING_BIT); in start_thread() 554 if (__glibc_unlikely (pd->cancelhandling & SETXID_BITMASK)) in start_thread() 564 while (pd->cancelhandling & SETXID_BITMASK); in start_thread()
|
D | nptl_free_tcb.c | 27 if (atomic_bit_test_set (&pd->cancelhandling, TERMINATED_BIT) == 0) in __nptl_free_tcb()
|
D | pthread_detach.c | 48 if ((pd->cancelhandling & EXITING_BITMASK) != 0) in ___pthread_detach()
|
D | descr.h | 279 int cancelhandling; member
|
D | allocatestack.c | 122 result->cancelhandling = 0; in get_cached_stack()
|
/glibc-2.36/nptl_db/ |
D | td_thr_get_info.c | 30 psaddr_t tls, schedpolicy, schedprio, cancelhandling, tid, report_events; in td_thr_get_info() local 39 cancelhandling = 0; in td_thr_get_info() 78 err = DB_GET_FIELD_LOCAL (cancelhandling, th->th_ta_p, copy, pthread, in td_thr_get_info() 79 cancelhandling, 0); in td_thr_get_info() 98 if ((((int) (uintptr_t) cancelhandling) & EXITING_BITMASK) == 0) in td_thr_get_info() 101 else if ((((int) (uintptr_t) cancelhandling) & TERMINATED_BITMASK) == 0) in td_thr_get_info()
|
D | td_thr_setgregs.c | 25 psaddr_t cancelhandling, tid; in td_thr_setgregs() local 36 err = DB_GET_FIELD (cancelhandling, th->th_ta_p, th->th_unique, pthread, in td_thr_setgregs() 37 cancelhandling, 0); in td_thr_setgregs() 42 if ((((int) (uintptr_t) cancelhandling) & TERMINATED_BITMASK) == 0) in td_thr_setgregs()
|
D | td_thr_setfpregs.c | 25 psaddr_t cancelhandling, tid; in td_thr_setfpregs() local 36 err = DB_GET_FIELD (cancelhandling, th->th_ta_p, th->th_unique, pthread, in td_thr_setfpregs() 37 cancelhandling, 0); in td_thr_setfpregs() 42 if ((((int) (uintptr_t) cancelhandling) & TERMINATED_BITMASK) == 0) in td_thr_setfpregs()
|
D | td_thr_getgregs.c | 25 psaddr_t cancelhandling, tid; in td_thr_getgregs() local 36 err = DB_GET_FIELD (cancelhandling, th->th_ta_p, th->th_unique, pthread, in td_thr_getgregs() 37 cancelhandling, 0); in td_thr_getgregs() 42 if (((int) (uintptr_t) cancelhandling) & TERMINATED_BITMASK) in td_thr_getgregs()
|
D | td_thr_getfpregs.c | 25 psaddr_t cancelhandling, tid; in td_thr_getfpregs() local 36 err = DB_GET_FIELD (cancelhandling, th->th_ta_p, th->th_unique, pthread, in td_thr_getfpregs() 37 cancelhandling, 0); in td_thr_getfpregs() 42 if (((int) (uintptr_t) cancelhandling) & TERMINATED_BITMASK) in td_thr_getfpregs()
|
D | structs.def | 56 DB_STRUCT_FIELD (pthread, cancelhandling)
|
/glibc-2.36/sysdeps/sh/nptl/ |
D | tcb-offsets.sym | 7 CANCELHANDLING offsetof (struct pthread, cancelhandling)
|
/glibc-2.36/sysdeps/i386/nptl/ |
D | tcb-offsets.sym | 7 CANCELHANDLING offsetof (struct pthread, cancelhandling)
|
/glibc-2.36/sysdeps/x86_64/nptl/ |
D | tcb-offsets.sym | 7 CANCELHANDLING offsetof (struct pthread, cancelhandling)
|
/glibc-2.36/sysdeps/nptl/ |
D | pthreadP.h | 279 atomic_bit_set (&self->cancelhandling, EXITING_BIT); in libc_hidden_proto()
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.nptl | 2197 THREAD_SELF->cancelhandling after returning from futex call. 4860 cancelhandling value to child. 10002 * descr.h (struct pthread): Move cancelhandling member to the front.
|