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()125 __set_tid_address(&main_thread.tid); in __libc_init_main_thread_late()127 pthread_attr_init(&main_thread.attr); in __libc_init_main_thread_late()129 pthread_attr_setinheritsched(&main_thread.attr, PTHREAD_INHERIT_SCHED); in __libc_init_main_thread_late()131 pthread_attr_setguardsize(&main_thread.attr, 0); in __libc_init_main_thread_late()133 pthread_attr_setstacksize(&main_thread.attr, 0); in __libc_init_main_thread_late()[all …]
156 pthread_internal_t* main_thread = __get_thread(); in __libc_add_main_thread() local157 __pthread_internal_add(main_thread); in __libc_add_main_thread()
67 TEST(android_unsafe_frame_pointer_chase, main_thread) { in TEST() argument
434 pthread_t main_thread = reinterpret_cast<pthread_t>(arg); in TestBug57421_child() local435 pthread_join(main_thread, nullptr); in TestBug57421_child()
345 pthread_t main_thread; member350 data.main_thread = pthread_self(); in main()370 pthread_t main_thread = data->main_thread; in thread_fn() local376 pthread_join(main_thread, nullptr); in thread_fn()