Closed OctopusLian closed 2 years ago
https://www.yuque.com/fudadajiagoushimeiriyiti/rqui93/zt2yg4 简单回答:cmpxchg原子指令。aba,循环开销大,一个共享变量。
https://www.yuque.com/fudadajiagoushimeiriyiti/rqui93/zt2yg4 简单回答:cmpxchg原子指令。aba,循环开销大,一个共享变量。