Lines Matching refs:ds
931 if (TerminateThread(th->th.th_info.ds.ds_thread, (DWORD)-1) == FALSE) { in __kmp_terminate_thread()
934 __kmp_free_handle(th->th.th_info.ds.ds_thread); in __kmp_terminate_thread()
995 gtid = this_thr->th.th_info.ds.ds_gtid; in __kmp_launch_worker()
1022 KMP_FSYNC_RELEASING(&this_thr->th.th_info.ds.ds_alive); in __kmp_launch_worker()
1023 this_thr->th.th_info.ds.ds_thread_id = GetCurrentThreadId(); in __kmp_launch_worker()
1024 TCW_4(this_thr->th.th_info.ds.ds_alive, TRUE); in __kmp_launch_worker()
1028 TCW_PTR(this_thr->th.th_info.ds.ds_stackbase, &stack_data); in __kmp_launch_worker()
1029 KMP_ASSERT(this_thr->th.th_info.ds.ds_stackgrow == FALSE); in __kmp_launch_worker()
1034 KMP_FSYNC_RELEASING(&this_thr->th.th_info.ds.ds_alive); in __kmp_launch_worker()
1035 TCW_4(this_thr->th.th_info.ds.ds_alive, FALSE); in __kmp_launch_worker()
1053 this_thr->th.th_info.ds.ds_thread_id = GetCurrentThreadId(); in __kmp_launch_monitor()
1054 TCW_4(this_thr->th.th_info.ds.ds_alive, TRUE); in __kmp_launch_monitor()
1135 TCW_4(this_thr->th.th_info.ds.ds_alive, FALSE); in __kmp_launch_monitor()
1148 th->th.th_info.ds.ds_gtid = gtid; in __kmp_create_worker()
1159 GetCurrentProcess(), &th->th.th_info.ds.ds_thread, 0, in __kmp_create_worker()
1164 (LPVOID)th, th->th.th_info.ds.ds_thread)); in __kmp_create_worker()
1165 th->th.th_info.ds.ds_thread_id = GetCurrentThreadId(); in __kmp_create_worker()
1169 TCW_PTR(th->th.th_info.ds.ds_stackbase, &stack_data); in __kmp_create_worker()
1170 TCW_PTR(th->th.th_info.ds.ds_stacksize, 0); in __kmp_create_worker()
1171 TCW_4(th->th.th_info.ds.ds_stackgrow, TRUE); in __kmp_create_worker()
1184 TCW_PTR(th->th.th_info.ds.ds_stacksize, stack_size); in __kmp_create_worker()
1185 TCW_4(th->th.th_info.ds.ds_stackgrow, FALSE); in __kmp_create_worker()
1208 th->th.th_info.ds.ds_thread = handle; in __kmp_create_worker()
1218 return (WAIT_TIMEOUT == WaitForSingleObject(th->th.th_info.ds.ds_thread, 0)); in __kmp_still_running()
1231 th->th.th_info.ds.ds_tid = 0; // this makes reap_monitor no-op in __kmp_create_monitor()
1232 th->th.th_info.ds.ds_gtid = 0; in __kmp_create_monitor()
1249 th->th.th_info.ds.ds_tid = KMP_GTID_MONITOR; in __kmp_create_monitor()
1250 th->th.th_info.ds.ds_gtid = KMP_GTID_MONITOR; in __kmp_create_monitor()
1274 th->th.th_info.ds.ds_thread = handle; in __kmp_create_monitor()
1279 (void *)th->th.th_info.ds.ds_thread)); in __kmp_create_monitor()
1291 rc = GetExitCodeThread(th->th.th_info.ds.ds_thread, exit_val); in __kmp_is_thread_alive()
1311 10, ("__kmp_reap_common: try to reap (%d)\n", th->th.th_info.ds.ds_gtid)); in __kmp_reap_common()
1329 KMP_FSYNC_SPIN_INIT(obj, (void *)&th->th.th_info.ds.ds_alive); in __kmp_reap_common()
1339 } while (exit_val == STILL_ACTIVE && TCR_4(th->th.th_info.ds.ds_alive)); in __kmp_reap_common()
1349 __kmp_free_handle(th->th.th_info.ds.ds_thread); in __kmp_reap_common()
1364 th->th.th_info.ds.ds_gtid, th->th.th_info.ds.ds_thread)); in __kmp_reap_common()
1366 th->th.th_info.ds.ds_thread = 0; in __kmp_reap_common()
1367 th->th.th_info.ds.ds_tid = KMP_GTID_DNE; in __kmp_reap_common()
1368 th->th.th_info.ds.ds_gtid = KMP_GTID_DNE; in __kmp_reap_common()
1369 th->th.th_info.ds.ds_thread_id = 0; in __kmp_reap_common()
1379 (void *)th->th.th_info.ds.ds_thread)); in __kmp_reap_monitor()
1384 KMP_DEBUG_ASSERT(th->th.th_info.ds.ds_tid == th->th.th_info.ds.ds_gtid); in __kmp_reap_monitor()
1385 if (th->th.th_info.ds.ds_gtid != KMP_GTID_MONITOR) { in __kmp_reap_monitor()
1398 th->th.th_info.ds.ds_gtid)); in __kmp_reap_monitor()
1409 th->th.th_info.ds.ds_gtid)); in __kmp_reap_worker()