Searched defs:main_thread (Results 1 - 3 of 3) sorted by relevance

/bionic/libc/bionic/
H A Dlibc_init_common.cpp81 static pthread_internal_t main_thread; local
85 main_thread.tid = __set_tid_address(&main_thread.tid);
86 main_thread.set_cached_pid(main_thread.tid);
93 main_thread.mmap_size = 0;
94 pthread_attr_init(&main_thread.attr);
95 main_thread.attr.guard_size = 0; // The main thread has no guard page.
96 main_thread.attr.stack_size = 0; // User code should never see this; we'll compute it when asked.
99 __init_thread(&main_thread);
119 pthread_internal_t* main_thread = __get_thread(); local
[all...]
/bionic/tests/
H A Dstdlib_test.cpp221 pthread_t main_thread = reinterpret_cast<pthread_t>(arg); local
222 pthread_join(main_thread, NULL);
H A Dpthread_test.cpp314 pthread_t main_thread; member in struct:TestBug37410
319 data.main_thread = pthread_self();
342 pthread_join(data->main_thread, NULL);

Completed in 134 milliseconds