Improving the lock free mpmc queue

Making the queue growable
Add padding to avoir false sharing
Add sleep() and SwitchToThread() to limit spinning
This commit is contained in:
2026-03-07 01:40:31 +01:00
parent 86ad30788a
commit 4967591ff8
4 changed files with 83 additions and 17 deletions

View File

@@ -9,3 +9,7 @@ v3.0: Simple mutex/critical section based MPMC queue
reusable hashing buffer
v3.1: Lock free MPMC queue
v3.2: Making the lock free MPMC queue growable
Add padding to avoir false sharing
Add sleep() and SwitchToThread() to limit spinning

Binary file not shown.