Wait-free thread communication

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 9 09:36:36 PST 2016


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


More information about the Digitalmars-d mailing list