reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
646 template <typename FlagType> class kmp_basic_flag : public kmp_flag<FlagType> { 647 typedef flag_traits<FlagType> traits_type; 648 FlagType checker; /**< Value to compare flag to to check if flag has been 655 kmp_basic_flag(std::atomic<FlagType> *p) 656 : kmp_flag<FlagType>(p, traits_type::t), num_waiting_threads(0) {} 657 kmp_basic_flag(std::atomic<FlagType> *p, kmp_info_t *thr) 658 : kmp_flag<FlagType>(p, traits_type::t), num_waiting_threads(1) { 661 kmp_basic_flag(std::atomic<FlagType> *p, FlagType c) 661 kmp_basic_flag(std::atomic<FlagType> *p, FlagType c) 662 : kmp_flag<FlagType>(p, traits_type::t), checker(c), 693 bool done_check_val(FlagType old_loc) { return old_loc == checker; } 712 FlagType set_sleeping() { 720 FlagType unset_sleeping() { 727 bool is_sleeping_val(FlagType old_loc) {