readerwriterqueue icon indicating copy to clipboard operation
readerwriterqueue copied to clipboard

Question : for this scene, a single-producer, multi-consumer, and these consumer thread execute alternately. which lock-free queue should I use?

Open yuzu-ogura opened this issue 4 months ago • 1 comments

Hello, I have this scene: a single-producer, multi-consumer, and these consumer thread execute alternately. That is to say, only one consumer thread is using the queue at any time, which lock-free queue should I use? A single-producer, single-consumer lock-free queue or a single-producer, multi-consumer lock-free queue

yuzu-ogura avatar Oct 21 '24 09:10 yuzu-ogura