You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(mpmc): check CAS result before accessing ring buffer slot
The tail/head CAS result was ignored in EnqueueM, EnqueueMRich, Enqueue, and Dequeue. When two goroutines race for the same slot, the CAS-losing goroutine could use a stale index and overwrite the winner's data.
Fixes#9
0 commit comments