How can I write a lock free structure?

后端 未结 21 1845
忘了有多久
忘了有多久 2020-12-13 12:57

In my multithreaded application and I see heavy lock contention in it, preventing good scalability across multiple cores. I have decided to use lock free programming to solv

21条回答
  •  再見小時候
    2020-12-13 13:34

    Writing thread-safe lock free code is hard; but this article from Herb Sutter will get you started.

提交回复
热议问题