On Saturday, 9 January 2016 at 16:22:12 UTC, Jin wrote:
So i simple use atomicFence. Performance does not degrade.

Either you are not calling it in the way you think you are, then, or your code is otherwise very unoptimized. You can definitely measure the impact of a full mfence on otherwise tight lock-free code.

 — David

Reply via email to