Lines Matching defs:flag
310 // Set flag for next iteration
361 // Set flag for next iteration
449 // Check if go flag is set
451 // Wait on go flag on team
590 kmp_flag_64<> flag(&thr_bar->b_arrived, other_threads[0]);
591 flag.release();
614 kmp_flag_64<true, false> flag(
616 if (flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj)))
619 kmp_flag_64<> flag(&other_threads[i]->th.th_bar[bt].bb.b_arrived,
621 flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj));
698 // Prefetch next thread's go flag
710 kmp_flag_64<> flag(&other_threads[i]->th.th_bar[bt].bb.b_go,
712 flag.release();
719 kmp_flag_64<true, false> flag(&thr_bar->b_go, KMP_BARRIER_STATE_BUMP);
720 if (flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj)))
723 kmp_flag_64<> flag(&thr_bar->b_go, KMP_BARRIER_STATE_BUMP);
724 flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj));
842 kmp_flag_64<> flag(&child_bar->b_arrived, new_state);
843 flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj));
882 kmp_flag_64<> flag(&thr_bar->b_arrived, other_threads[parent_tid]);
883 flag.release();
918 kmp_flag_64<> flag(&thr_bar->b_go, KMP_BARRIER_STATE_BUMP);
919 flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj));
994 kmp_flag_64<> flag(&child_bar->b_go, child_thr);
995 flag.release();
1160 kmp_flag_64<> flag(&thr_bar->b_go, KMP_BARRIER_STATE_BUMP);
1161 flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj));
1260 kmp_flag_64<> flag(&child_bar->b_go, child_thr);
1261 flag.release();
1399 // First, wait for leaf children to check-in on my b_arrived flag
1407 kmp_flag_64<> flag(&thr_bar->b_arrived, leaf_state);
1408 flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj));
1427 // Next, wait for higher level children on each child's b_arrived flag
1443 kmp_flag_64<> flag(&child_bar->b_arrived, new_state);
1444 flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj));
1472 kmp_flag_64<> flag(&child_bar->b_arrived, new_state);
1473 flag.wait(this_thr, FALSE USE_ITT_BUILD_ARG(itt_sync_obj));
1501 // flag; release it
1502 kmp_flag_64<> flag(&thr_bar->b_arrived,
1504 flag.release();
1506 // Leaf does special release on "offset" bits of parent's b_arrived flag
1508 kmp_flag_oncore flag(&thr_bar->parent_bar->b_arrived,
1510 flag.set_waiter(other_threads[thr_bar->parent_tid]);
1511 flag.release();
1546 // Use traditional method of waiting on my own b_go flag
1548 kmp_flag_64<> flag(&thr_bar->b_go, KMP_BARRIER_STATE_BUMP);
1549 flag.wait(this_thr, TRUE USE_ITT_BUILD_ARG(itt_sync_obj));
1551 KMP_INIT_BARRIER_STATE); // Reset my b_go flag for next time
1554 // Wait on my "offset" bits on parent's b_go flag
1556 kmp_flag_oncore flag(&thr_bar->parent_bar->b_go, KMP_BARRIER_STATE_BUMP,
1559 flag.wait(this_thr, TRUE);
1563 KMP_INIT_BARRIER_STATE); // Reset my b_go flag for next time
1564 } else { // Reset my bits on parent's b_go flag
1670 KMP_INIT_BARRIER_STATE); // Reset my b_go flag for next time
1694 // Release child using child's b_go flag
1695 kmp_flag_64<> flag(&child_bar->b_go, child_thr);
1696 flag.release();
1699 // b_go flag
1719 // Release child using child's b_go flag
1720 kmp_flag_64<> flag(&child_bar->b_go, child_thr);
1721 flag.release();
1932 // Reset cancellation flag for worksharing constructs
2118 // Workers need to revert their private b_arrived flag
2333 // Have primary thread flag the workers to indicate they are now waiting for