-
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
Execution of async code in a new thread #3
Comments
It should be noted that in .NET In case if one needs to postpone the execution, it can be done with
|
The decision was to always require an explicit specification of execution policy for most coroutine builder. So |
协程《基础》中的几个错别字的修改
In current implementation execution of coroutine code starts in the same thread and continues until first execution point.
Probably it's worth to run it on a thread-pool (it could be another parameter with some sensible default value, e.g.
ForkJoinPool.commonPool()
)The text was updated successfully, but these errors were encountered: