kotlinx.coroutines
kotlinx.coroutines copied to clipboard
Library support for Kotlin coroutines
Introduce `SegmentQueueSynchronizer` abstraction for synchronization primitives and `ReadWriteMutex`. Please follow the provided documentation and the test suite for details.
When I build kotlin-native project for `linuxArm32Hfp` receive: `Unable to find a matching configuration of org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.0.1`
Sorry for not being able to provide a real life use-case as I don't get to write Kotlin at work. --- In this [SO question](https://stackoverflow.com/questions/66586852/kotlin-flow-missing-many-trivial-functions-like-any-distinct/66587779), OP asks for a `distinct`...
Originally implemented in #2461. I just cherry-picked it and made sure the project builds. Fixes https://github.com/Kotlin/kotlinx.coroutines/issues/2291
``` val cs = CoroutineScope(parentScope.coroutineContext + Job(parent = parentScope.coroutineContext.job)) ``` Now parent has a child attached (as it should), but `DebugProbes` knows nothing about it.
Don't wrap it into `LimitedDispatcher` unnecessarily.
Are there any monitoring tools available for how many coroutines are currently active and their state etc? It would be nice if it could be exposed so that something like...
IntelliJ IDEA platform has the following **core** API: ``` // In a blocking, non-suspendable world that is executed in ForkJoinPool decompose() { // here happens decomposition of the task and...
When using `awaitFrame()` for the first time on the main dispatcher, there is a wasted draw frame with the current implementation. This is due to the extra `dispatch()` call that...