Lines Matching defs:this_thr
34 kmp_info_t *this_thr);
611 // this_thr: thread structure to set current_task in.
612 void __kmp_pop_current_task_from_thread(kmp_info_t *this_thr) {
616 0, this_thr, this_thr->th.th_current_task,
617 this_thr->th.th_current_task->td_parent));
619 this_thr->th.th_current_task = this_thr->th.th_current_task->td_parent;
624 0, this_thr, this_thr->th.th_current_task,
625 this_thr->th.th_current_task->td_parent));
631 // this_thr: thread structure to set up
634 void __kmp_push_current_task_to_thread(kmp_info_t *this_thr, kmp_team_t *team,
641 tid, this_thr, this_thr->th.th_current_task,
644 KMP_DEBUG_ASSERT(this_thr != NULL);
647 if (this_thr->th.th_current_task != &team->t.t_implicit_task_taskdata[0]) {
649 this_thr->th.th_current_task;
650 this_thr->th.th_current_task = &team->t.t_implicit_task_taskdata[0];
655 this_thr->th.th_current_task = &team->t.t_implicit_task_taskdata[tid];
661 tid, this_thr, this_thr->th.th_current_task,
1324 // this_thr: thread data structure corresponding to implicit task
1325 // team: team for this_thr
1331 void __kmp_init_implicit_task(ident_t *loc_ref, kmp_info_t *this_thr,
1376 __kmp_push_current_task_to_thread(this_thr, team, tid);
2091 kmp_info_t *this_thr = __kmp_threads[gtid];
2092 kmp_team_t *team = this_thr->th.th_team;
2093 kmp_int32 nthreads = this_thr->th.th_team_nproc;
2096 if (thread == this_thr)
3662 kmp_info_t *this_thr) {
3667 __kmp_gtid_from_thread(this_thr)));
3670 KMP_DEBUG_ASSERT(this_thr->th.th_team != NULL);
3674 KMP_DEBUG_ASSERT(nthreads == this_thr->th.th_team->t.t_nproc);
3677 is_init_thread = __kmp_realloc_task_threads_data(this_thr, task_team);
3684 __kmp_gtid_from_thread(this_thr)));
3699 if (i == this_thr->th.th_info.ds.ds_tid) {
3711 __kmp_gtid_from_thread(this_thr),
3716 __kmp_gtid_from_thread(this_thr),
3723 __kmp_gtid_from_thread(this_thr)));
4169 void __kmp_task_team_setup(kmp_info_t *this_thr, kmp_team_t *team) {
4175 if (team == this_thr->th.th_serial_team ||
4176 team == this_thr->th.th_root->r.r_root_team) {
4179 team->t.t_task_team[0] = __kmp_allocate_task_team(this_thr, team);
4183 __kmp_gtid_from_thread(this_thr), team->t.t_task_team[0], team));
4194 if (team->t.t_task_team[this_thr->th.th_task_state] == NULL) {
4195 team->t.t_task_team[this_thr->th.th_task_state] =
4196 __kmp_allocate_task_team(this_thr, team);
4199 __kmp_gtid_from_thread(this_thr),
4200 team->t.t_task_team[this_thr->th.th_task_state], team->t.t_id,
4201 this_thr->th.th_task_state));
4210 int other_team = 1 - this_thr->th.th_task_state;
4213 team->t.t_task_team[other_team] = __kmp_allocate_task_team(this_thr, team);
4216 __kmp_gtid_from_thread(this_thr),
4226 __kmp_gtid_from_thread(this_thr),
4234 if (this_thr == __kmp_hidden_helper_main_thread) {
4240 __kmp_enable_tasking(task_team, this_thr);
4254 void __kmp_task_team_sync(kmp_info_t *this_thr, kmp_team_t *team) {
4256 KMP_DEBUG_ASSERT(team != this_thr->th.th_serial_team);
4257 KMP_DEBUG_ASSERT(team != this_thr->th.th_root->r.r_root_team);
4261 this_thr->th.th_task_state = (kmp_uint8)(1 - this_thr->th.th_task_state);
4265 TCW_PTR(this_thr->th.th_task_team,
4266 team->t.t_task_team[this_thr->th.th_task_state]);
4270 __kmp_gtid_from_thread(this_thr), this_thr->th.th_task_team,
4271 team->t.t_id, this_thr->th.th_task_state));
4281 kmp_info_t *this_thr,
4283 kmp_task_team_t *task_team = team->t.t_task_team[this_thr->th.th_task_state];
4286 KMP_DEBUG_ASSERT(task_team == this_thr->th.th_task_team);
4292 __kmp_gtid_from_thread(this_thr), task_team));
4300 flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj));
4308 __kmp_gtid_from_thread(this_thr), task_team));
4315 TCW_PTR(this_thr->th.th_task_team, NULL);