Home
last modified time | relevance | path

Searched refs:tlflags (Results 1 – 8 of 8) sorted by relevance

/dragonfly/lib/libthread_xu/thread/
H A Dthr_private.h420 int tlflags; member
568 if (((thrd)->tlflags & TLFLAGS_IN_TDLIST) == 0) { \
571 (thrd)->tlflags |= TLFLAGS_IN_TDLIST; \
575 if (((thrd)->tlflags & TLFLAGS_IN_TDLIST) != 0) { \
578 (thrd)->tlflags &= ~TLFLAGS_IN_TDLIST; \
582 if (((thrd)->tlflags & TLFLAGS_IN_GCLIST) == 0) { \
584 (thrd)->tlflags |= TLFLAGS_IN_GCLIST; \
589 if (((thrd)->tlflags & TLFLAGS_IN_GCLIST) != 0) { \
591 (thrd)->tlflags &= ~TLFLAGS_IN_GCLIST; \
H A Dthr_detach.c53 if ((pthread->tlflags & TLFLAGS_DETACHED) != 0 || in _pthread_detach()
60 pthread->tlflags |= TLFLAGS_DETACHED; in _pthread_detach()
H A Dthr_join.c88 } else if ((pthread->tlflags & TLFLAGS_DETACHED) != 0) { in join_common()
135 pthread->tlflags |= TLFLAGS_DETACHED; in join_common()
H A Dthr_create.c143 new_thread->tlflags |= TLFLAGS_DETACHED; in _pthread_create()
187 new_thread->tlflags |= TLFLAGS_DETACHED; in _pthread_create()
H A Dthr_list.c120 if (((td->tlflags & TLFLAGS_DETACHED) != 0) && in _thr_gc()
333 (thread->tlflags & TLFLAGS_DETACHED) != 0) in _thr_ref_delete_unlocked()
H A Dthr_exit.c154 if (curthread->tlflags & TLFLAGS_DETACHED) in exit_thread()
H A Dthr_fork.c252 curthread->tlflags &= ~(TLFLAGS_IN_TDLIST | TLFLAGS_DETACHED); in _fork()
H A Dthr_attr.c86 if (pid->tlflags & TLFLAGS_DETACHED) in _pthread_attr_get_np()