Searched refs:main_thread (Results 1 - 4 of 4) sorted by relevance

/bionic/libc/bionic/
H A D__libc_init_main_thread.cpp58 static pthread_internal_t main_thread; local
62 __set_tls(main_thread.tls);
66 main_thread.tid = __set_tid_address(&main_thread.tid);
67 main_thread.set_cached_pid(main_thread.tid);
74 main_thread.mmap_size = 0;
75 pthread_attr_init(&main_thread.attr);
76 main_thread.attr.guard_size = 0; // The main thread has no guard page.
77 main_thread
[all...]
H A Dlibc_init_common.cpp110 pthread_internal_t* main_thread = __get_thread(); local
111 __pthread_internal_add(main_thread);
/bionic/tests/
H A Dstdlib_test.cpp223 pthread_t main_thread = reinterpret_cast<pthread_t>(arg); local
224 pthread_join(main_thread, NULL);
H A Dpthread_test.cpp308 pthread_t main_thread; member in struct:TestBug37410
313 data.main_thread = pthread_self();
336 pthread_join(data->main_thread, NULL);

Completed in 159 milliseconds