Lock free multiple readers single writer

前端 未结 4 1994
既然无缘
既然无缘 2020-12-17 03:14

I have got an in memory data structure that is read by multiple threads and written by only one thread. Currently I am using a critical section to make this access threadsaf

4条回答
  •  爱一瞬间的悲伤
    2020-12-17 03:22

    Just an addition - what you are looking at here is generally known as Hazard Pointers. I have no idea if you can do something similar in Delphi.

提交回复
热议问题