How do I build a lockless queue?

前端 未结 5 1654
情歌与酒
情歌与酒 2020-12-25 08:41

I\'ve spent today looking into lockless queues. I have a multiple producer, multiple consumer situation. I implemented, for testing, a system using the Interlocked SList t

5条回答
  •  囚心锁ツ
    2020-12-25 09:09

    These guys have, maybe you could find some inspiration there. The other interesting files are yqueue.hpp and atomic_ptr.hpp

提交回复
热议问题