Home | History | Annotate | Download | only in bionic

Lines Matching defs:thread

41   pthread_internal_t* thread = __pthread_internal_find(t);
42 if (thread == NULL) {
48 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) {
55 pid_t tid = thread->tid;
56 volatile int* tid_ptr = &thread->tid;
58 // We set thread->join_state to THREAD_JOINED with atomic operation,
59 // so no one is going to remove this thread except us.
61 // Wait for the thread to actually exit, if it hasn't already.
67 *return_value = thread->return_value;
70 __pthread_internal_remove_and_free(thread);