Home
last modified time | relevance | path

Searched refs:cancelhandling (Results 1 – 25 of 27) sorted by relevance

12

/glibc-2.36/nptl/
Dlibc-cleanup.c29 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 …]
Dcleanup_defer.c33 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 …]
Dcancellation.c33 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()
Dnptl_setxid.c81 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()
Dpthread_cancel.c45 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()
Dpthread_testcancel.c26 int cancelhandling = atomic_load_relaxed (&self->cancelhandling); in ___pthread_testcancel() local
27 if (cancel_enabled_and_canceled (cancelhandling)) in ___pthread_testcancel()
Dpthread_setcancelstate.c33 int oldval = atomic_load_relaxed (&self->cancelhandling); in __pthread_setcancelstate()
47 if (atomic_compare_exchange_weak_acquire (&self->cancelhandling, in __pthread_setcancelstate()
Dpthread_setcanceltype.c31 int oldval = atomic_load_relaxed (&self->cancelhandling); in __pthread_setcanceltype()
45 if (atomic_compare_exchange_weak_acquire (&self->cancelhandling, in __pthread_setcanceltype()
Dpthread_join_common.c59 && (pd->cancelhandling in __pthread_clockjoin_ex()
62 && !cancel_enabled_and_canceled (self->cancelhandling)) in __pthread_clockjoin_ex()
Dpthread_create.c490 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()
Dnptl_free_tcb.c27 if (atomic_bit_test_set (&pd->cancelhandling, TERMINATED_BIT) == 0) in __nptl_free_tcb()
Dpthread_detach.c48 if ((pd->cancelhandling & EXITING_BITMASK) != 0) in ___pthread_detach()
Ddescr.h279 int cancelhandling; member
Dallocatestack.c122 result->cancelhandling = 0; in get_cached_stack()
/glibc-2.36/nptl_db/
Dtd_thr_get_info.c30 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()
Dtd_thr_setgregs.c25 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()
Dtd_thr_setfpregs.c25 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()
Dtd_thr_getgregs.c25 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()
Dtd_thr_getfpregs.c25 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()
Dstructs.def56 DB_STRUCT_FIELD (pthread, cancelhandling)
/glibc-2.36/sysdeps/sh/nptl/
Dtcb-offsets.sym7 CANCELHANDLING offsetof (struct pthread, cancelhandling)
/glibc-2.36/sysdeps/i386/nptl/
Dtcb-offsets.sym7 CANCELHANDLING offsetof (struct pthread, cancelhandling)
/glibc-2.36/sysdeps/x86_64/nptl/
Dtcb-offsets.sym7 CANCELHANDLING offsetof (struct pthread, cancelhandling)
/glibc-2.36/sysdeps/nptl/
DpthreadP.h279 atomic_bit_set (&self->cancelhandling, EXITING_BIT); in libc_hidden_proto()
/glibc-2.36/ChangeLog.old/
DChangeLog.nptl2197 THREAD_SELF->cancelhandling after returning from futex call.
4860 cancelhandling value to child.
10002 * descr.h (struct pthread): Move cancelhandling member to the front.

12