-
Notifications
You must be signed in to change notification settings - Fork 403
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
A Small Mistake in lockfree_queue.md #2341
Comments
@StaRadian do you want to create a PR to fix it. You would need to sign the Eclipse Contributor Agreement. If you don't want to run through all the hoops for this little change, I can also fix it in my next PR. |
@elBoberido I didn’t realize I could become a contributor, so thank you for letting me know! |
@StaRadian sure, go ahead. I'll reopen the issue since you need an issue number for your commit. Please have a look at the 8 steps from the following link. |
Thanks for the information. I’m currently reviewing the 8 steps in the link you provided and will make sure to fully understand them before proceeding. I recognize the importance of following the strict rules, especially for a project like iceoryx. |
@StaRadian are you still on this? If not, I can fix the documentation mistake with one of my next PRs. |
There is a minor typo in the Pop Operation section of the iceoryx/doc/design/lockfree_queue.md document, where the state of the queue after a pop operation is incorrectly illustrated. Specifically, the positions of x and y are swapped.
Current Document:
Pop Operation
Pop reads the value at the index of head and returns it if the cycle matches Heads cycle and a CAS to increase head by 1 succeeds.
pop returns y
Corrected Document:
Pop reads the value at the index of head and returns it if the cycle matches Heads cycle and a CAS to increase head by 1 succeeds.
pop returns y
Thank you.
The text was updated successfully, but these errors were encountered: