Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DDefaultExecutorStressTest.kt14 withContext(DefaultExecutor) { in <lambda>()
47 … while (DefaultExecutor.isThreadPresent) { delay(10) } // hangs if the thread refuses to stop in <lambda>()
48 assertFalse(DefaultExecutor.isThreadPresent) // just to make sure in <lambda>()
59 assertTrue(DefaultExecutor.isThreadPresent) // the worker spawned in <lambda>()
DVirtualTimeSource.kt14DefaultExecutor.shutdownForTests(SHUTDOWN_TIMEOUT) // shutdown execution with old time source (in … in withVirtualTimeSource()
17 DefaultExecutor.ensureStarted() // should start with new time source in withVirtualTimeSource()
21 DefaultExecutor.shutdownForTests(SHUTDOWN_TIMEOUT) in withVirtualTimeSource()
DEventLoopsTest.kt60 assertTrue(Thread.currentThread().name.startsWith(DefaultExecutor.THREAD_NAME)) in <lambda>()
63 DefaultExecutor.enqueue(Runnable { in <lambda>()
DTestBase.kt211 DefaultExecutor.shutdownForTests(SHUTDOWN_TIMEOUT) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DDefaultExecutor.kt17 if (!defaultMainDelayOptIn) return DefaultExecutor in initializeDefaultDelay()
24 return if (main.isMissing() || main !is Delay) DefaultExecutor else main in initializeDefaultDelay()
28 internal actual object DefaultExecutor : EventLoopImplBase(), Runnable { object
DExecutors.kt155 DefaultExecutor.scheduleResumeAfterDelay(timeMillis, continuation) in scheduleResumeAfterDelay()
162 else -> DefaultExecutor.invokeOnTimeout(timeMillis, block, context) in invokeOnTimeout()
DDispatchers.kt93 DefaultExecutor.shutdown() in shutdown()
DEventLoop.kt21 DefaultExecutor.schedule(now, delayedTask) in reschedule()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DDeprecated.kt54 DefaultExecutor.dispatch(context, block)
63 DefaultExecutor.dispatchYield(context, block)
104 DefaultExecutor.enqueue(coroutineScheduler.createTask(block, context)) in dispatchWithContext()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DCoroutineContext.kt10 internal actual object DefaultExecutor : CoroutineDispatcher(), Delay { object
33 internal actual val DefaultDelay: Delay = DefaultExecutor in createDefaultDispatcher()
DEventLoop.kt20 DefaultExecutor.invokeOnTimeout(now, delayedTask, EmptyCoroutineContext) in reschedule()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/knit/
DTestUtil.kt30 DefaultExecutor.shutdownForTests(SHUTDOWN_TIMEOUT) in <lambda>()
43DefaultExecutor.shutdownForTests(SHUTDOWN_TIMEOUT) // the last man standing -- cleanup all pending… in <lambda>()
61 shutdownNow().forEach { DefaultExecutor.enqueue(it) } in shutdownDispatcherPools()
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DEventLoop.kt22 internal actual object DefaultExecutor { in unpark() object
/external/tensorflow/tensorflow/core/distributed_runtime/preemption/
Dpreemption_notifier.cc64 SIGTERM, thread::Executor::DefaultExecutor(), in SigtermNotifier()
Dpreemption_notifier_test.cc48 SIGTERM, thread::Executor::DefaultExecutor(), []() {}, in PreemptNotifierTest()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DEventLoop.common.kt293 DefaultExecutor.enqueue(task) in dispatch()
529 internal expect object DefaultExecutor { in toString() object