Skip to content

Remove obsolete CommonPool support #2916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 9, 2021
Merged

Remove obsolete CommonPool support #2916

merged 1 commit into from
Sep 9, 2021

Conversation

qwwdfsad
Copy link
Member

@qwwdfsad qwwdfsad commented Sep 3, 2021

* We state that it's deprecated since the initial release of CoroutineScheduler
* It is an additional DEX load for Android

    * We state that it's deprecated since the initial release of CoroutineScheduler
    * It is an additional DEX load for Android
@@ -25,7 +25,7 @@ internal actual object DefaultExecutor : CoroutineDispatcher(), Delay {

internal fun loopWasShutDown(): Nothing = error("Cannot execute task because event loop was shut down")

internal actual fun createDefaultDispatcher(): CoroutineDispatcher =
internal fun createDefaultDispatcher(): CoroutineDispatcher =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this be inlined, like on the JVM?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will complicate the maintenance of native-mt branch during rebases

@qwwdfsad qwwdfsad merged commit 81d7780 into develop Sep 9, 2021
@qwwdfsad qwwdfsad deleted the remove-common-pool branch September 9, 2021 12:47
pablobaxter pushed a commit to pablobaxter/kotlinx.coroutines that referenced this pull request Sep 14, 2022
* We state that it's deprecated since the initial release of CoroutineScheduler
* It is an additional DEX load for Android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants