Lock Free Queue — Single Producer, Multiple Consumers

前端 未结 4 1210
一生所求
一生所求 2020-12-13 11:06

I am looking for a method to implement lock-free queue data structure that supports single producer, and multiple consumers. I have looked at the classic method by Maged Mic

4条回答
  •  心在旅途
    2020-12-13 11:09

    This is an old question but no one has provided an answer that precisely answers it. Given that still comes up high in search results for (nearly) the same question, there should be an answer, given that one exists.

    There may be more than one solution, but here is one that has an implementation: https://github.com/tudinfse/FFQ The conference paper referenced in the readme details the algorithm.

提交回复
热议问题