Home
last modified time | relevance | path

Searched refs:root_thread (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/sched/pthreads/
Dpth_str01.c548 pthread_t root_thread; in main() local
665 if ((rc = pthread_create(&root_thread, &attr, (void *)doit, NULL))) { in main()
678 if ((rc = pthread_join(root_thread, NULL))) { in main()
Dpth_str03.c528 pthread_t root_thread; in main() local
636 if ((rc = pthread_create(&root_thread, &attr, doit, NULL))) { in main()
647 if ((rc = pthread_join(root_thread, NULL))) { in main()
/external/llvm-project/openmp/runtime/src/
Dkmp_runtime.cpp3603 kmp_info_t *root_thread; in __kmp_register_root() local
3697 root_thread = root->r.r_uber_thread; in __kmp_register_root()
3699 root_thread = (kmp_info_t *)__kmp_allocate(sizeof(kmp_info_t)); in __kmp_register_root()
3701 __kmp_print_thread_storage_map(root_thread, gtid); in __kmp_register_root()
3703 root_thread->th.th_info.ds.ds_gtid = gtid; in __kmp_register_root()
3705 root_thread->th.ompt_thread_info.thread_data = ompt_data_none; in __kmp_register_root()
3707 root_thread->th.th_root = root; in __kmp_register_root()
3709 root_thread->th.th_cons = __kmp_allocate_cons_stack(gtid); in __kmp_register_root()
3712 __kmp_initialize_fast_memory(root_thread); in __kmp_register_root()
3716 KMP_DEBUG_ASSERT(root_thread->th.th_local.bget_data == NULL); in __kmp_register_root()
[all …]
Dompt-general.cpp470 kmp_info_t *root_thread = ompt_get_thread(); local
472 ompt_set_thread_state(root_thread, ompt_state_overhead);
486 ompt_set_thread_state(root_thread, ompt_state_work_serial);