concurrentqueue icon indicating copy to clipboard operation
concurrentqueue copied to clipboard

How to use token in multi producers and multi consumers situation?

Open mcgrady-forever opened this issue 2 years ago • 1 comments

I have multi producers and multi consumers, while producers and consumers are in different threads. How to use tokens to maximum the performance? Could u please give me some advices.

mcgrady-forever avatar Sep 07 '23 07:09 mcgrady-forever

Use one token per producer and one per consumer. There's some basic info in the README.

cameron314 avatar Sep 07 '23 11:09 cameron314