Searched refs:join_state (Results 1 - 6 of 6) sorted by relevance
/bionic/libc/bionic/ |
H A D | pthread_detach.cpp | 42 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) {
|
H A D | pthread_join.cpp | 46 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) { 56 // We set thread->join_state to THREAD_JOINED with atomic operation,
|
H A D | pthread_internal.h | 82 _Atomic(ThreadJoinState) join_state; member in struct:pthread_internal_t
|
H A D | pthread_exit.cpp | 96 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_EXITED_NOT_JOINED)) {
|
H A D | pthread_create.cpp | 97 atomic_init(&thread->join_state, THREAD_NOT_JOINED); 99 atomic_init(&thread->join_state, THREAD_DETACHED); 276 atomic_store(&thread->join_state, THREAD_DETACHED);
|
H A D | pthread_attr.cpp | 173 // We prefer reading join_state here to setting thread->attr.flags in pthread_detach. 175 if (atomic_load(&thread->join_state) == THREAD_DETACHED) {
|
Completed in 347 milliseconds