Searched refs:cancel_lock (Results 1 – 9 of 9) sorted by relevance
28 __pthread_mutex_lock (&p->cancel_lock); in __pthread_enable_asynccancel()31 __pthread_mutex_unlock (&p->cancel_lock); in __pthread_enable_asynccancel()42 __pthread_mutex_lock (&p->cancel_lock); in __pthread_disable_asynccancel()44 __pthread_mutex_unlock (&p->cancel_lock); in __pthread_disable_asynccancel()
33 __pthread_mutex_lock (&p->cancel_lock); in pthread_cancel()36 __pthread_mutex_unlock (&p->cancel_lock); in pthread_cancel()44 __pthread_mutex_unlock (&p->cancel_lock); in pthread_cancel()58 __pthread_mutex_unlock (&p->cancel_lock); in pthread_cancel()
30 __pthread_mutex_lock (&p->cancel_lock); in __pthread_testcancel()32 __pthread_mutex_unlock (&p->cancel_lock); in __pthread_testcancel()
37 __pthread_mutex_lock (&p->cancel_lock); in __pthread_setcancelstate()41 __pthread_mutex_unlock (&p->cancel_lock); in __pthread_setcancelstate()
37 __pthread_mutex_lock (&p->cancel_lock); in __pthread_setcanceltype()41 __pthread_mutex_unlock (&p->cancel_lock); in __pthread_setcanceltype()
48 new->cancel_lock = (pthread_mutex_t) PTHREAD_MUTEX_INITIALIZER; in initialize_pthread()
74 pthread_mutex_t cancel_lock; /* Protect cancel_xxx members. */ member
116 __pthread_mutex_lock (&self->cancel_lock); in __pthread_cond_timedwait_internal()122 __pthread_mutex_unlock (&self->cancel_lock); in __pthread_cond_timedwait_internal()143 __pthread_mutex_unlock (&self->cancel_lock); in __pthread_cond_timedwait_internal()198 __pthread_mutex_lock (&self->cancel_lock); in __pthread_cond_timedwait_internal()204 __pthread_mutex_unlock (&self->cancel_lock); in __pthread_cond_timedwait_internal()
40 __pthread_mutex_unlock (&p->cancel_lock); in __pthread_do_cancel()