How is this code not solving ABA problem?

后端 未结 0 1353
深忆病人
深忆病人 2021-01-19 01:15

I trying to learn about the ABA problem in a lock free stack. According to Wikipedia:

We have a stack A,B,C.

  • thread_1 tries to pop A. Reads the old_value
相关标签:
回答
  • 消灭零回复
提交回复
热议问题