Skip to content
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

[勘误]反馈一个第1章第3.3节的流程图 #103

Closed
Kimgtb opened this issue Nov 27, 2022 · 2 comments
Closed

[勘误]反馈一个第1章第3.3节的流程图 #103

Kimgtb opened this issue Nov 27, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Kimgtb
Copy link

Kimgtb commented Nov 27, 2022

image

从buf队首取出数据,再从sendq取出一个G,图片红框应该是把数据写入到G吧?然后唤醒g,而不是又把G的数据写入到队尾,难道是带着数据来的G?

谢谢

@Kimgtb Kimgtb added the bug Something isn't working label Nov 27, 2022
@Kimgtb
Copy link
Author

Kimgtb commented Nov 27, 2022

已了解

@RainbowMango
Copy link
Owner

嗯。带缓冲区的channel读取时是从缓冲区读的。

好像问题已解决,先关闭了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants