Searched refs:main_thread (Results 1 – 5 of 5) sorted by relevance
47 static pthread_internal_t main_thread; variable79 __init_tcb(temp_tcb, &main_thread); in __libc_init_main_thread_early()82 main_thread.tid = __getpid(); in __libc_init_main_thread_early()83 main_thread.set_cached_pid(main_thread.tid); in __libc_init_main_thread_early()84 main_thread.stack_top = reinterpret_cast<uintptr_t>(args.argv); in __libc_init_main_thread_early()112 __set_tid_address(&main_thread.tid); in __libc_init_main_thread_late()114 pthread_attr_init(&main_thread.attr); in __libc_init_main_thread_late()116 pthread_attr_setinheritsched(&main_thread.attr, PTHREAD_INHERIT_SCHED); in __libc_init_main_thread_late()118 pthread_attr_setguardsize(&main_thread.attr, 0); in __libc_init_main_thread_late()120 pthread_attr_setstacksize(&main_thread.attr, 0); in __libc_init_main_thread_late()[all …]
89 pthread_internal_t* main_thread = __get_thread(); in __libc_add_main_thread() local90 __pthread_internal_add(main_thread); in __libc_add_main_thread()
67 TEST(android_unsafe_frame_pointer_chase, main_thread) { in TEST() argument
432 pthread_t main_thread = reinterpret_cast<pthread_t>(arg); in TestBug57421_child() local433 pthread_join(main_thread, nullptr); in TestBug57421_child()
316 pthread_t main_thread; member321 data.main_thread = pthread_self(); in main()341 pthread_t main_thread = data->main_thread; in thread_fn() local347 pthread_join(main_thread, nullptr); in thread_fn()