Skip to content

Relaxed tail loads in Ringbuffer#16

Merged
raphael-s-steiner merged 1 commit intomasterfrom
relaxed_tail
Apr 7, 2026
Merged

Relaxed tail loads in Ringbuffer#16
raphael-s-steiner merged 1 commit intomasterfrom
relaxed_tail

Conversation

@raphael-s-steiner
Copy link
Copy Markdown
Owner

The loads of the tail in the ringbuffer can be relaxed as the consumer thread has already read out (copied out) the data which is guaranteed by the memory_order_release store operation of pop.

@raphael-s-steiner raphael-s-steiner self-assigned this Apr 7, 2026
@raphael-s-steiner raphael-s-steiner merged commit d069221 into master Apr 7, 2026
2 checks passed
@raphael-s-steiner raphael-s-steiner deleted the relaxed_tail branch April 7, 2026 19:49
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

Successfully merging this pull request may close these issues.

1 participant