Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DCancellableContinuationResumeCloseStressTest.kt17 private val startBarrier = CyclicBarrier(3) in <lambda>() constant
31 startBarrier.await() in <lambda>()
52 startBarrier.await() // (2) resume at the same time in <lambda>()
58 startBarrier.await() // (3) return at the same time in <lambda>()
DUnconfinedConcurrentStressTest.kt25 val startBarrier = CyclicBarrier(threads + 1) in <lambda>() constant
30 startBarrier.await() in <lambda>()
47 startBarrier.await() in <lambda>()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DConcurrencyTest.java104 public ClientWorker(CyclicBarrier startBarrier, CountDownLatch responsesDoneSignal) { in ClientWorker() argument
105 this.startBarrier = startBarrier; in ClientWorker()
124 startBarrier.await(); in run()
131 private final CyclicBarrier startBarrier; field in ConcurrencyTest.ClientWorker
175 CyclicBarrier startBarrier = new CyclicBarrier(NUM_CONCURRENT_REQUESTS); in serverStreamingTest() local
179 clientExecutor.execute(new ClientWorker(startBarrier, responsesDoneSignal)); in serverStreamingTest()
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/
DTimeZoneIntegrationTest.java93 CyclicBarrier startBarrier = new CyclicBarrier(2); in testSetDefaultDeadlock() local
95 waitFor(startBarrier); in testSetDefaultDeadlock()
106 waitFor(startBarrier); in testSetDefaultDeadlock()
140 CyclicBarrier startBarrier = new CyclicBarrier(2); in testSetDefaultRace() local
142 waitFor(startBarrier); in testSetDefaultRace()
154 waitFor(startBarrier); in testSetDefaultRace()