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
在没有函数调用的情况下, for true{}依然会让出执行权。
The text was updated successfully, but these errors were encountered:
你可以测试下。
Sorry, something went wrong.
我这里也是让出了,是goroutine版本高的原因吗?
在没有函数调用的情况下, for true{}依然会让出执行权。 我这里也是让出了,是goroutine版本高的原因吗?
在1.14之前的版本是协作式抢占,之后的版本是信号抢占,协作式抢占需要执行函数。信号抢占不需要,是调度器直接让M挂起执行的G。
No branches or pull requests
在没有函数调用的情况下, for true{}依然会让出执行权。
The text was updated successfully, but these errors were encountered: