-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Using the sample code does not reproduce the problem #198
Labels
Comments
It will be fixed when we implement our own implementation for |
elizarov
added a commit
that referenced
this issue
Sep 28, 2018
* Documentation and guide are updated correspondingly * "DefaultDispatcher" is used as a public name of the default impl * Implementation is integrated with virtual time-source * Shutdown sequence is reimplemented in a safe way for tests, makes "close" safe to use on custom instances. * "close" on DefaultDispatcher throws exception just in case * -Dkotlinx.coroutines.scheduler=off can be used to switch back to CommonPool Fixes #198
elizarov
added a commit
that referenced
this issue
Sep 28, 2018
* Documentation and guide are updated correspondingly * "DefaultDispatcher" is used as a public name of the default impl * Implementation is integrated with virtual time-source * Shutdown sequence is reimplemented in a safe way for tests, makes "close" safe to use on custom instances. * "close" on DefaultDispatcher throws exception just in case * -Dkotlinx.coroutines.scheduler=off can be used to switch back to CommonPool Fixes #198
elizarov
added a commit
that referenced
this issue
Sep 28, 2018
* Documentation and guide are updated correspondingly * "DefaultDispatcher" is used as a public name of the default impl * Implementation is integrated with virtual time-source * Shutdown sequence is reimplemented in a safe way for tests, makes "close" safe to use on custom instances. * "close" on DefaultDispatcher throws exception just in case * -Dkotlinx.coroutines.scheduler=off can be used to switch back to CommonPool Fixes #198
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See: https://github.com/Kotlin/kotlinx.coroutines/blob/master/coroutines-guide.md#the-problem
I will not consitently see 1000000.
outputs:
The text was updated successfully, but these errors were encountered: