Lines Matching defs:flag
310 // Set flag for next iteration
361 // Set flag for next iteration
450 // Check if go flag is set
452 // Wait on go flag on team
591 kmp_flag_64<> flag(&thr_bar->b_arrived, other_threads[0]);
592 flag.release();
615 kmp_flag_64<true, false> flag(
617 if (flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj)))
620 kmp_flag_64<> flag(&other_threads[i]->th.th_bar[bt].bb.b_arrived,
622 flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj));
699 // Prefetch next thread's go flag
711 kmp_flag_64<> flag(&other_threads[i]->th.th_bar[bt].bb.b_go,
713 flag.release();
720 kmp_flag_64<true, false> flag(&thr_bar->b_go, KMP_BARRIER_STATE_BUMP);
721 if (flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj)))
724 kmp_flag_64<> flag(&thr_bar->b_go, KMP_BARRIER_STATE_BUMP);
725 flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj));
843 kmp_flag_64<> flag(&child_bar->b_arrived, new_state);
844 flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj));
883 kmp_flag_64<> flag(&thr_bar->b_arrived, other_threads[parent_tid]);
884 flag.release();
919 kmp_flag_64<> flag(&thr_bar->b_go, KMP_BARRIER_STATE_BUMP);
920 flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj));
995 kmp_flag_64<> flag(&child_bar->b_go, child_thr);
996 flag.release();
1161 kmp_flag_64<> flag(&thr_bar->b_go, KMP_BARRIER_STATE_BUMP);
1162 flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj));
1261 kmp_flag_64<> flag(&child_bar->b_go, child_thr);
1262 flag.release();
1400 // First, wait for leaf children to check-in on my b_arrived flag
1408 kmp_flag_64<> flag(&thr_bar->b_arrived, leaf_state);
1409 flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj));
1428 // Next, wait for higher level children on each child's b_arrived flag
1444 kmp_flag_64<> flag(&child_bar->b_arrived, new_state);
1445 flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj));
1473 kmp_flag_64<> flag(&child_bar->b_arrived, new_state);
1474 flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj));
1502 // flag; release it
1503 kmp_flag_64<> flag(&thr_bar->b_arrived,
1505 flag.release();
1507 // Leaf does special release on "offset" bits of parent's b_arrived flag
1509 kmp_flag_oncore flag(&thr_bar->parent_bar->b_arrived,
1511 flag.set_waiter(other_threads[thr_bar->parent_tid]);
1512 flag.release();
1547 // Use traditional method of waiting on my own b_go flag
1549 kmp_flag_64<> flag(&thr_bar->b_go, KMP_BARRIER_STATE_BUMP);
1550 flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj));
1552 KMP_INIT_BARRIER_STATE); // Reset my b_go flag for next time
1555 // Wait on my "offset" bits on parent's b_go flag
1557 kmp_flag_oncore flag(&thr_bar->parent_bar->b_go, KMP_BARRIER_STATE_BUMP,
1560 flag.wait(this_thr, TRUE);
1564 KMP_INIT_BARRIER_STATE); // Reset my b_go flag for next time
1565 } else { // Reset my bits on parent's b_go flag
1671 KMP_INIT_BARRIER_STATE); // Reset my b_go flag for next time
1695 // Release child using child's b_go flag
1696 kmp_flag_64<> flag(&child_bar->b_go, child_thr);
1697 flag.release();
1700 // b_go flag
1720 // Release child using child's b_go flag
1721 kmp_flag_64<> flag(&child_bar->b_go, child_thr);
1722 flag.release();
1933 // Reset cancellation flag for worksharing constructs
2119 // Workers need to revert their private b_arrived flag
2334 // Have primary thread flag the workers to indicate they are now waiting for