We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use coroutines on an android virtual device with one cpu only , but find common pool not execute code. finally , i find something like this
The text was updated successfully, but these errors were encountered:
Omg. That's bad. We should figure out how to detect this case and work around it. This might explain #288 too
Sorry, something went wrong.
Fixed the logic to detect broken ForkJoinPool instance and added a co…
3975391
…rresponding test Fixes #432, #288
So it appears that older versions of android SDK have a off-by-one error in makeCommonPool when runtime has only one core: https://github.com/AndroidSDKSources/android-sdk-sources-for-api-level-21/blob/master/java/util/concurrent/ForkJoinPool.java#L3278
makeCommonPool
the patch works well !
1e12210
elizarov
No branches or pull requests
I use coroutines on an android virtual device with one cpu only , but find common pool not execute code. finally , i find something like this

The text was updated successfully, but these errors were encountered: