Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
j_seigh
· 11mo ago · 0 comments
I did a lock-free MPMC ring buffer with 1 128 bit CAS and 1 64 bit CAS for enqueue and 1 64 bit CAS for dequeue. The payload is an unrestricted uintptr_t (64 bit) value so no way to avoid the 128 bit CAS in the enqueue.
Comments
No comments yet.
Better HN