1 #ifndef FWCore_Utilities_CallNTimesNoWait_h 2 #define FWCore_Utilities_CallNTimesNoWait_h 44 if (not
m_done.load(std::memory_order_acquire)) {
45 if (
m_ntimes.fetch_sub(1, std::memory_order_acq_rel) < 0) {
46 m_done.store(
true, std::memory_order_release);
CallNTimesNoWait(unsigned short iNTimes)
std::atomic< int > m_ntimes
std::atomic< bool > m_done