Searched refs:THREAD_DETACHED (Results 1 – 6 of 6) sorted by relevance
44 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) { in pthread_detach()
53 if (old_state == THREAD_DETACHED || old_state == THREAD_JOINED) { in pthread_join()
118 if (old_state == THREAD_DETACHED) { in pthread_exit()
146 atomic_init(&thread->join_state, THREAD_DETACHED); in __init_thread()432 atomic_store(&thread->join_state, THREAD_DETACHED); in pthread_create()
60 THREAD_DETACHED enumerator
249 if (atomic_load(&thread->join_state) == THREAD_DETACHED) { in pthread_getattr_np()