Home
last modified time | relevance | path

Searched refs:threadsLeft (Results 1 – 1 of 1) sorted by relevance

/oneTBB/test/common/
H A Dspin_barrier.h136 …int threadsLeft = static_cast<int>(myNumThreads - myNumThreadsFinished.fetch_add(1, std::memory_or… in customWait() local
137 ASSERT(threadsLeft >= 0,"Broken barrier"); in customWait()
138 if (threadsLeft > 0) { in customWait()
145threadsLeft = static_cast<int>(myNumThreadsFinished.fetch_sub(myNumThreads, std::memory_order_acqu… in customWait()
146 ASSERT(threadsLeft == 0,"Broken barrier"); in customWait()