Principal Engine Programmer @ Volition Games
I'm a Principal Programmer working on the Engine Team at Volition Games! The content of this blog is my own, personal work and views, and is not endorsed by any other party.
Markdown supported · ⌘↵ to post
Andrew Michell
Hi Paul, excellent post! I wrote a Reserve_PopSlot function that closely resembles Reserve_EmplaceSlot and added some tests. SPSC, MPSC, SPMC all work great, however I'm running into an issue with MPMC consumer thinking that the queue is empty because cIndices.mUnwrappedPushIndex == cIndices.mUnwrappedPopIndex but mSize is not 0. Have you experienced this?... If you send me your email I can respond with my implementation of Reserve_PopSlot. Thank you!