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

please guide me,thanks. #451

Open
dpf371 opened this issue Feb 26, 2023 · 1 comment
Open

please guide me,thanks. #451

dpf371 opened this issue Feb 26, 2023 · 1 comment

Comments

@dpf371
Copy link

dpf371 commented Feb 26, 2023

if (wrapPoint > cachedGatingSequence || cachedGatingSequence > nextValue)

What case will run this code “cachedGatingSequence > current” ? Could Consumer's sequence be more than Producer's sequence ? But this case can be possible ?

@soulmz
Copy link

soulmz commented May 9, 2023

cachedGatingSequence is like a checkpoint (caching the minimum sequence number of the ringBuffer).

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

3 participants
@soulmz @dpf371 and others