concurrent linked list

后端 未结 5 1259
既然无缘
既然无缘 2021-02-05 20:45

I am trying to design a linked list in c++ that allows concurrent access. Clearly using a single lock for this list is grossly inefficient since disjoint areas may be updated in

5条回答
  •  不知归路
    2021-02-05 21:27

    Linked lists are inherently sequential data structures. No matter what kind of machinery you use to implement it, the interface and expected behavior imply sequential logic.

    What are you trying to do? That should determine what data structure you use, not the familiarity of the data structures you already are comfortable with.

提交回复
热议问题