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

Questions about the FIFO of simple protocol #1523

Open
JK-Jiagn opened this issue Nov 25, 2024 · 0 comments
Open

Questions about the FIFO of simple protocol #1523

JK-Jiagn opened this issue Nov 25, 2024 · 0 comments

Comments

@JK-Jiagn
Copy link

Hello, I have some questions about the FIFO of simple protocol.
Image

  1. When the sender finishes writing the data, what is the memory barrier function waiting for? Is it just waiting for the update of the tail?
  2. Similarly, after the receiver finishes reading the data, will the memory barrier be called?
  3. Is the tail updated by the receiver? Similarly, is the head updated by the sender? I have this question because I saw that the tail and head are local for recv and send respectively here.

Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant