Searched refs:threadsLeft (Results 1 – 1 of 1) sorted by relevance
136 …int threadsLeft = static_cast<int>(myNumThreads - myNumThreadsFinished.fetch_add(1, std::memory_or… in customWait() local137 ASSERT(threadsLeft >= 0,"Broken barrier"); in customWait()138 if (threadsLeft > 0) { in customWait()145 …threadsLeft = static_cast<int>(myNumThreadsFinished.fetch_sub(myNumThreads, std::memory_order_acqu… in customWait()146 ASSERT(threadsLeft == 0,"Broken barrier"); in customWait()