Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DWorkQueueStressTest.kt59 myQueue.tryStealFrom(victim = producerQueue) in testStealing()
64 myQueue.tryStealFrom(producerQueue) in testStealing()
94 if (myQueue.tryStealFrom(producerQueue) != NOTHING_TO_STEAL) { in testSingleProducerSingleStealer()
DWorkQueueTest.kt64 assertEquals(TASK_STOLEN, stealer.tryStealFrom(victim)) in <lambda>()
67 assertEquals(TASK_STOLEN, stealer.tryStealFrom(victim)) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DWorkQueue.kt108 fun tryStealFrom(victim: WorkQueue): Long { in tryStealFrom() method in kotlinx.coroutines.scheduling.WorkQueue
DCoroutineScheduler.kt913 localQueue.tryStealFrom(victim = worker.localQueue) in <lambda>()