HomeSort by relevance Sort by last modified time
    Searched refs:pthread_internal_t (Results 1 - 12 of 12) sorted by null

  /bionic/libc/bionic/
pthread_accessor.h 30 if (thread_ == reinterpret_cast<pthread_internal_t*>(desired_thread)) {
48 pthread_internal_t& operator*() const { return *thread_; }
49 pthread_internal_t* operator->() const { return thread_; }
50 pthread_internal_t* get() const { return thread_; }
53 pthread_internal_t* thread_;
pthread_internal.h 45 struct pthread_internal_t { struct
46 struct pthread_internal_t* next;
47 struct pthread_internal_t* prev;
97 __LIBC_HIDDEN__ int __init_thread(pthread_internal_t* thread, bool add_to_thread_list);
98 __LIBC_HIDDEN__ void __init_tls(pthread_internal_t* thread);
99 __LIBC_HIDDEN__ void __init_alternate_signal_stack(pthread_internal_t*);
100 __LIBC_HIDDEN__ void _pthread_internal_add(pthread_internal_t* thread);
103 extern "C" __LIBC64_HIDDEN__ pthread_internal_t* __get_thread(void);
106 __LIBC_HIDDEN__ void _pthread_internal_remove_locked(pthread_internal_t* thread);
117 __LIBC_HIDDEN__ extern pthread_internal_t* g_thread_list
    [all...]
pthread_gettid_np.cpp 33 return reinterpret_cast<pthread_internal_t*>(t)->tid;
getpid.cpp 36 pthread_internal_t* self = __get_thread();
pthread_internals.cpp 35 pthread_internal_t* g_thread_list = NULL;
38 void _pthread_internal_remove_locked(pthread_internal_t* thread) {
55 void _pthread_internal_add(pthread_internal_t* thread) {
67 pthread_internal_t* __get_thread(void) {
68 return reinterpret_cast<pthread_internal_t*>(__get_tls()[TLS_SLOT_THREAD_ID]);
pthread_exit.cpp 46 pthread_internal_t* thread = __get_thread();
54 pthread_internal_t* thread = __get_thread();
62 pthread_internal_t* thread = __get_thread();
90 // Keep track of what we need to know about the stack before we lose the pthread_internal_t.
97 // The thread is detached, so we can free the pthread_internal_t.
103 // Make sure that the pthread_internal_t doesn't have stale pointers to a stack that
110 // pthread_join is responsible for destroying the pthread_internal_t for non-detached threads.
111 // The kernel will futex_wake on the pthread_internal_t::tid field to wake pthread_join.
fork.cpp 39 pthread_internal_t* self = __get_thread();
pthread_create.cpp 53 void __init_tls(pthread_internal_t* thread) {
66 void __init_alternate_signal_stack(pthread_internal_t* thread) {
78 int __init_thread(pthread_internal_t* thread, bool add_to_thread_list) {
104 static void* __create_thread_stack(pthread_internal_t* thread) {
130 pthread_internal_t* thread = reinterpret_cast<pthread_internal_t*>(arg);
161 pthread_internal_t* thread = reinterpret_cast<pthread_internal_t*>(calloc(sizeof(*thread), 1));
libc_init_common.cpp 67 * Note: this function creates a pthread_internal_t for the initial thread and
78 static pthread_internal_t main_thread;
88 // We also can't free the pthread_internal_t itself, since that lives on the main
116 pthread_internal_t* main_thread = __get_thread();
clone.cpp 70 pthread_internal_t* self = __get_thread();
78 // 1. pthread_create gives its children their own pthread_internal_t with the correct pid.
pthread_attr.cpp 169 *attr = reinterpret_cast<pthread_internal_t*>(t)->attr;
pthread_key.cpp 214 for (pthread_internal_t* t = g_thread_list; t != NULL; t = t->next) {

Completed in 8824 milliseconds