Lines Matching refs:barrier
165 SpinBarrier barrier(1); in singleThreadTest() local
167 barrier.sync(mode); in singleThreadTest()
168 barrier.sync(mode); in singleThreadTest()
169 barrier.sync(mode); in singleThreadTest()
175 TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx) in TestThread() argument
176 : m_barrier (barrier) in TestThread()
236 SpinBarrier barrier (numThreads); in multiThreadTest() local
242 threads[ndx] = new TestThread(barrier, &sharedVar, numThreads, ndx); in multiThreadTest()
258 SpinBarrier barrier(3); in singleThreadRemoveTest() local
260 barrier.removeThread(mode); in singleThreadRemoveTest()
261 barrier.removeThread(mode); in singleThreadRemoveTest()
262 barrier.sync(mode); in singleThreadRemoveTest()
263 barrier.removeThread(mode); in singleThreadRemoveTest()
265 barrier.reset(1); in singleThreadRemoveTest()
266 barrier.sync(mode); in singleThreadRemoveTest()
268 barrier.reset(2); in singleThreadRemoveTest()
269 barrier.removeThread(mode); in singleThreadRemoveTest()
270 barrier.sync(mode); in singleThreadRemoveTest()
276 …TestExitThread (SpinBarrier& barrier, int numThreads, int threadNdx, SpinBarrier::WaitMode waitMod… in TestExitThread() argument
277 : m_barrier (barrier) in TestExitThread()
311 SpinBarrier barrier (numThreads); in multiThreadRemoveTest() local
316 threads[ndx] = new TestExitThread(barrier, numThreads, ndx, waitMode); in multiThreadRemoveTest()