Do we need mfence when using xchg

前端 未结 4 961
独厮守ぢ
独厮守ぢ 2021-01-02 16:03

I have a set and test xchg based assembly lock. my question is :

Do we need to use memory fencing (mfence, sfence or lf

4条回答
提交回复
热议问题