Searched refs:THREAD_DETACHED (Results 1 – 6 of 6) sorted by relevance
42 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) { in pthread_detach()
49 if (old_state == THREAD_DETACHED || old_state == THREAD_JOINED) { in pthread_join()
51 THREAD_DETACHED enumerator
99 if (old_state == THREAD_DETACHED) { in pthread_exit()
99 atomic_init(&thread->join_state, THREAD_DETACHED); in __init_thread()276 atomic_store(&thread->join_state, THREAD_DETACHED); in pthread_create()
175 if (atomic_load(&thread->join_state) == THREAD_DETACHED) { in pthread_getattr_np()